View Single Post
Old 04-09-2003, 12:29 AM  
WayneDolesman
Junior Member
 
Join Date: Apr 2003
Posts: 8
Default

Ok, I did what you asked.

A bit more info first: I know both sides support PASV transfers because that's how I am usually transferring files.. it's ALWAYS using PASV mode. This is the first time I've tried to do Site-to-Site though.. so it's assumably never worked.

What I did was connect from my home PC, to FTP1, then opened a site to site connection to FTP2 and tried to transfer a file. I am behind a Linksys here at home, if that has any bearing.. although as I said, I don't have problems sending or recieving files normally (non site to site).

The complete log file:

[22:05:40] (1) Connecting to FTP1
[22:05:40] (1) Connected to FTP1 -> IP=xxx.xxx.xxx.xxx PORT=6900
[22:05:40] (1) 220 Titan FTP Server 2.02.99 Ready.
[22:05:40] (1) USER username
[22:05:40] (1) 331 User name okay, need password.
[22:05:40] (1) PASS (hidden)
[22:05:40] (1) 230-Welcome username from xxx.xxx.xxx.xxx. You are now logged into the server.
[22:05:40] (1) 230 User logged in, proceed.
[22:05:40] (1) SYST
[22:05:40] (1) 215 UNIX Type: L8
[22:05:40] (1) REST 100
[22:05:40] (1) 350 Restarting at 100 - Send STORe or RETRieve to initiate transfer.
[22:05:40] (1) REST 0
[22:05:40] (1) 350 Restarting at 0 - Send STORe or RETRieve to initiate transfer.
[22:05:40] (1) CWD /Uploads/
[22:05:40] (1) 250 Directory changed to "/Uploads/"
[22:05:40] (1) PWD
[22:05:40] (1) 257 "/Uploads/" is current directory.
[22:05:40] (1) TYPE A
[22:05:40] (1) 200 Type set to A.
[22:05:40] (1) PASV
[22:05:40] (1) 227 Entering Passive Mode (xxx,xxx,xxx,xxx,6,109).
[22:05:40] (1) LIST
[22:05:40] (1) 150 TESTFILE status okay; about to open data connection.
[22:05:41] (1) 226 Closing data connection. Transferred 114 bytes.
[22:05:47] (2) Connecting to FTP2
[22:05:50] (2) Connected to FTP2 -> IP=xxx.xxx.xxx.xxx PORT=67
[22:05:50] (2) 220 VisNetic FTPServer 2.01.99 Ready.
[22:05:50] (2) USER username
[22:05:50] (2) 331 User name okay, need password.
[22:05:50] (2) PASS (hidden)
[22:05:50] (2) 230-Welcome username from xxx.xxx.xxx.xxx. You are now logged into the server.
[22:05:50] (2) 230 User logged in, proceed.
[22:05:50] (2) SYST
[22:05:50] (2) 215 UNIX Type: L8
[22:05:50] (2) REST 100
[22:05:50] (2) 350 Restarting at 100 - Send STORe or RETRieve to initiate transfer.
[22:05:50] (2) REST 0
[22:05:51] (2) 350 Restarting at 0 - Send STORe or RETRieve to initiate transfer.
[22:05:51] (2) CWD /uploads/
[22:05:51] (2) 250 Directory changed to "/uploads/"
[22:05:51] (2) PWD
[22:05:51] (2) 257 "/uploads/" is current directory.
[22:05:51] List (cached)
[22:05:51] List Complete.
[22:05:53] (2) TYPE I
[22:05:53] (2) 200 Type set to I.
[22:05:53] (1) TYPE I
[22:05:53] (1) 200 Type set to I.
[22:05:54] (2) PASV
[22:05:54] (2) 227 Entering Passive Mode (xxx,xxx,xxx,xxx,6,63).
[22:05:54] (1) PORT xxx,xxx,xxx,xxx,6,63
[22:05:54] (1) 200 PORT command successful.
[22:05:54] (1) STOR TESTFILE
[22:05:54] (1) 150 TESTFILE status okay; about to open data connection.
[22:05:54] (2) RETR TESTFILE
[22:05:54] (2) 150 Opening BINARY mode data connection for TESTFILE (5427200 bytes).
[22:06:15] (1) 425 Unable to open data connection.
[22:06:15] Transfer Failed!
[22:06:15] (1) TYPE A
[22:06:15] (1) 200 Type set to A.
[22:06:15] (1) PASV
[22:06:15] (1) 227 Entering Passive Mode (xxx,xxx,xxx,xxx,6,111).
[22:06:15] (1) LIST
[22:06:15] (1) 150 TESTFILE status okay; about to open data connection.
[22:06:15] (1) 226 Closing data connection. Transferred 114 bytes.
[22:06:15] (2) TYPE A
[22:06:15] (2) 200 Type set to A.
[22:06:15] (2) PASV
[22:06:15] (2) 425 Unable to open data connection.
[22:06:15] (2) PORT 192,168,0,5(My PC's Private IP),16,11
[22:06:16] (2) 227 Entering Passive Mode (xxx,xxx,xxx,xxx,6,64).
[22:06:16] (2) 200 PORT command successful.
[22:06:16] (2) LIST
[22:06:16] (2) 150 TESTFILE status okay; about to open data connection.

I also tried disabling PASV mode in FlashFXP, but then I couldn't connect properly to FTP2.

I also tried to connect from a THIRD FTP to FTP2 and do a site to site.. basically the same thing happend, although it didn't take as long to tell me it couldn't send the file. Again, FTP2 only seems to work in PASV mode, period.

WinSock 2.0
[22:23:32] (1) Connecting to FTP3
[22:23:32] (1) Connected to FTP3 -> IP=xxx.xxx.xxx.xxx PORT=21
[22:23:32] (1) 220 Serv-U FTP Server v4.1 for WinSock ready...
[22:23:32] (1) USER username
[22:23:32] (1) 331 User name okay, need password.
[22:23:32] (1) PASS (hidden)
[22:23:32] (1) 230 User logged in, proceed.
[22:23:32] (1) SYST
[22:23:32] (1) 215 UNIX Type: L8
[22:23:32] (1) PWD
[22:23:32] (1) 257 "/e:/ftproot" is current directory.
[22:23:32] (1) TYPE A
[22:23:32] (1) 200 Type set to A.
[22:23:32] (1) PORT 192,168,0,5,16,85
[22:23:32] (1) 200 PORT Command successful.
[22:23:33] (1) LIST
[22:23:33] (1) 150 Opening ASCII mode data connection for /bin/ls.
[22:23:33] (1) 226 Transfer complete.
[22:23:38] (2) Connecting to FTP2
[22:23:39] (2) Connected to FTP2 -> IP=xxx.xxx.xxx.xxx PORT=67
[22:23:39] (2) 220 VisNetic FTPServer 2.01.99 Ready.
[22:23:39] (2) USER username
[22:23:39] (2) 331 User name okay, need password.
[22:23:39] (2) PASS (hidden)
[22:23:39] (2) 230-Welcome username from 12.211.28.180. You are now logged into the server.
[22:23:39] (2) 230 User logged in, proceed.
[22:23:39] (2) SYST
[22:23:39] (2) 215 UNIX Type: L8
[22:23:39] (2) REST 100
[22:23:44] (2) 350 Restarting at 100 - Send STORe or RETRieve to initiate transfer.
[22:23:44] (2) REST 0
[22:23:44] (2) 350 Restarting at 0 - Send STORe or RETRieve to initiate transfer.
[22:23:44] (2) PWD
[22:23:44] (2) 257 "/" is current directory.
[22:23:44] (2) TYPE A
[22:23:44] (2) 200 Type set to A.
[22:23:44] (2) PASV
[22:23:44] (2) 227 Entering Passive Mode (xxx,xxx,xxx,xxx,6,82).
[22:23:47] (2) LIST
[22:23:48] (2) 150 File status okay; about to open data connection.
[22:23:48] (2) 226 Closing data connection. Transferred 1226 bytes.
[22:23:50] (2) CWD uploads
[22:23:50] (2) 250 Directory changed to "/uploads/"
[22:23:50] (2) PWD
[22:23:50] (2) 257 "/uploads/" is current directory.
[22:23:50] (2) PASV
[22:23:51] (2) 227 Entering Passive Mode (xxx,xxx,xxx,xxx,6,83).
[22:23:54] (2) LIST
[22:23:54] (2) 150 File status okay; about to open data connection.
[22:23:54] (2) 226 Closing data connection. Transferred 271 bytes.
[22:23:56] (1) TYPE I
[22:23:56] (1) 200 Type set to I.
[22:23:56] (2) TYPE I
[22:23:57] (2) 200 Type set to I.
[22:23:57] (2) PASV
[22:23:57] (2) 227 Entering Passive Mode (xxx,xxx,xxx,xxx,6,84).
[22:23:57] (1) PORT xxx,xxx,xxx,xxx,6,84
[22:23:57] (1) 200 PORT Command successful.
[22:23:57] (2) STOR TESTFILE
[22:23:57] (2) 150 File status okay; about to open data connection.
[22:23:57] (1) RETR TESTFILE
[22:23:57] (1) 150 Opening BINARY mode data connection for TESTFILE (548007 bytes).
[22:23:58] (1) 425 Cannot open data connection.
[22:23:58] Transfer Failed!
[22:23:58] (1) TYPE A
[22:23:59] (1) 200 Type set to A.
[22:23:59] (1) PORT 192,168,0,5,16,89
[22:23:59] (1) 200 PORT Command successful.
[22:23:59] (1) LIST
[22:23:59] (1) 150 Opening ASCII mode data connection for /bin/ls.
[22:23:59] (1) 226 Transfer complete.
[22:23:59] (2) TYPE A
[22:23:59] (2) 200 Type set to A.
[22:23:59] (2) PASV
[22:23:59] (2) 227 Entering Passive Mode (xxx,xxx,xxx,xxx,6,85).
[22:24:00] (2) 425 Unable to open data connection.
[22:24:01] (2) Data Socket Error: Connection refused
[22:24:01] Transfer queue completed
[22:24:01] 1 File failed to transfer


That enough info for ya?? ^_^

BTW, FTP1 uses TitanFTP, FTP2 VizNetic FTP, FTP3 uses ServU-FTP. I am thinking about setting up two FTP's here inside of my private network and seeing what happens...
WayneDolesman is offline