Path: utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!ucsd!ucbvax!STL-08SIMA.ARMY.MIL!gaspar From: gaspar@STL-08SIMA.ARMY.MIL (Al Gaspar) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: PASV mode on ftp server Message-ID: <9011301000.aa21635@louie.udel.edu> Date: 30 Nov 90 15:01:41 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 84 I am attempting to use BFTP (running on a SPARC+ under 4.1 SunOs) to move a file from a Unisys 5000/95 running SysV.3 and to a PC (I have tried both ka9q's server and the one in tnvt from ftp software). BFTP needs to have one of the two remote machines ftp server support PASV mode. The Unisys box does not, the PC does. Everything starts out according to plan. BFTP connects to both machines; it determines that it can't put the Unisys machine in PASV mode and puts the PC in passive mode instead. The PC comes back and says to use port 20. BFTP passes the port information along to the Unisys machine. It tries to make the connect, and the PC refuses the connection. The transcript of this conversation is attached in the forwarded message. Why does the PC give a port number that it won't answer? Does anyone have any ideas as to what is going on? Is there a way around this? Thanks in advance. Cheers-- Al -- Al Gaspar USAMC SIMA, ATTN: AMXSI-TTC, 1222 Spruce St., St. Louis, MO 63103-2834 COMMERCIAL: (314) 331-4354 AUTOVON: 555-4354 uunet.uu.net!stl-08sima.army.mil!gaspar ------- Forwarded Message Request type: COPY Source: stl-08sima,gaspar,XXX,,21,,.login Destination: stl-94sima,gaspar,XXX,,21,,log.tst Stru: F, Mode: S, Type: A N, Creation: STOR Multiple matching: FALSE, Return mailbox: 'gaspar@stl-08sima' Remaining tries: 5, Current retry interval: 15 minutes Request bftp659909893 submitted to run at Nov 29 14:18:13 1990 CST. Nov 29 14:19:00 1990 CST: starting... Request type: COPY Source: stl-08sima,gaspar,XXX,,21,,.login Destination: stl-94sima,gaspar,XXX,,21,,log.tst Stru: F, Mode: S, Type: A N, Creation: STOR Multiple matching: FALSE, Return mailbox: 'gaspar@stl-08sima' Remaining tries: 4, Current retry interval: 15 minutes Connect to: stl-08sima, 21 stl-08sima ==> 220 stl-08sima FTP server (EXOS Version 4.2 Thu Jan 29 16:21:41 PST 1987) ready. Connect to: stl-94sima, 21 stl-94sima ==> 220-(null) PC/TCP 2.0 FTP Server by FTP Software ready stl-94sima ==> 220 Connection is automatically closed if idle for 5 minutes Logging in: gaspar, on stl-08sima stl-08sima <== USER gaspar stl-08sima ==> 331 Password required for gaspar. stl-08sima <== PASS XXX stl-08sima ==> 230 User gaspar logged in. Logging in: gaspar, on stl-94sima stl-94sima <== USER gaspar stl-94sima ==> 230 User OK, no password Creating 'bftp659909893.list' list-file stl-08sima <== PASV stl-08sima ==> 502 PASV command not implemented. stl-94sima <== PASV stl-94sima ==> 227 Entering passive mode: (192,35,148,94,0,20) stl-08sima <== PORT 192,35,148,94,0,20 stl-08sima ==> 200 PORT command okay. Transferring .login stl-94sima <== STOR log.tst stl-08sima <== RETR .login stl-08sima ==> 150 Opening data connection for .login (192.35.148.94,20). stl-08sima ==> 425 Can't build data connection: Connection refused. Status: FAILED BUT CAN RETRY stl-08sima <== QUIT stl-94sima <== QUIT Nov 29 14:19:15 1990 CST: completed unsuccessfully. Request bftp659909893 submitted to run at Nov 29 14:34:15 1990 CST. Nov 29 14:20:57 1990 CST: request cancelled. ------- End of Forwarded Message