Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 11-01-2009, 12:00 PM   #1
survivor
Junior Member
 
Join Date: Nov 2009
Posts: 3
Default FXP transfers not working

When attempting to transfer files between two servers (FXP), transfer does not start.

* FlashFXP v[3.6.0], build [1240], [ ]registered, [X]unregistered, [ ]pirated
* OS [ ] Vista, [X] WinXP, [ ] Win2K, [ ] Win98, [ ] WinME, [ ] Other (explain)
* Running behind hardware router/firewall [ ] Yes & Model [ ], [X] No, [ ] Not sure
* Running software firewall [ ] Yes, Name [ ], Ver. [ ], or [X] No
* Running Antivirus [X] Yes, Name [McAfee VirusScan 8.5i] or [ ] No
* Network [ ] DSL, [ ] CABLE, [ ] Dail-Up, [X] Other - Wireless

additional info if related
* FTP server(s) name [Filezilla Server], version [0.9.31 beta]
* timestamped, and side prefixed server log (please paste)

Tower Filezilla Server (192.168.123.6):

31/10/09 21:16:06 PM - (not logged in) (192.168.123.3)> Connected, sending welcome message...
31/10/09 21:16:06 PM - (not logged in) (192.168.123.3)> 220-FileZilla Server version 0.9.31 beta
31/10/09 21:16:06 PM - (not logged in) (192.168.123.3)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
31/10/09 21:16:06 PM - (not logged in) (192.168.123.3)> 220 Please visit http://sourceforge.net/projects/filezilla/
31/10/09 21:16:06 PM - (not logged in) (192.168.123.3)> USER nino
31/10/09 21:16:06 PM - (not logged in) (192.168.123.3)> 331 Password required for nino
31/10/09 21:16:06 PM - (not logged in) (192.168.123.3)> PASS *******
31/10/09 21:16:06 PM - nino (192.168.123.3)> 230 Logged on
31/10/09 21:16:06 PM - nino (192.168.123.3)> SYST
31/10/09 21:16:06 PM - nino (192.168.123.3)> 215 UNIX emulated by FileZilla
31/10/09 21:16:06 PM - nino (192.168.123.3)> FEAT
31/10/09 21:16:06 PM - nino (192.168.123.3)> 211-Features:
31/10/09 21:16:06 PM - nino (192.168.123.3)> MDTM
31/10/09 21:16:06 PM - nino (192.168.123.3)> REST STREAM
31/10/09 21:16:06 PM - nino (192.168.123.3)> SIZE
31/10/09 21:16:06 PM - nino (192.168.123.3)> MLST type*;size*;modify*;
31/10/09 21:16:06 PM - nino (192.168.123.3)> MLSD
31/10/09 21:16:06 PM - nino (192.168.123.3)> UTF8
31/10/09 21:16:06 PM - nino (192.168.123.3)> CLNT
31/10/09 21:16:06 PM - nino (192.168.123.3)> MFMT
31/10/09 21:16:06 PM - nino (192.168.123.3)> 211 End
31/10/09 21:16:06 PM - nino (192.168.123.3)> CLNT FlashFXP 3.6.0.1240
31/10/09 21:16:06 PM - nino (192.168.123.3)> 200 Don't care
31/10/09 21:16:06 PM - nino (192.168.123.3)> OPTS UTF8 ON
31/10/09 21:16:06 PM - nino (192.168.123.3)> 200 UTF8 mode enabled
31/10/09 21:16:06 PM - nino (192.168.123.3)> PWD
31/10/09 21:16:06 PM - nino (192.168.123.3)> 257 "/" is current directory.
31/10/09 21:16:06 PM - nino (192.168.123.3)> TYPE A
31/10/09 21:16:06 PM - nino (192.168.123.3)> 200 Type set to A
31/10/09 21:16:06 PM - nino (192.168.123.3)> PASV
31/10/09 21:16:06 PM - nino (192.168.123.3)> 227 Entering Passive Mode (192,168,123,6,7,66)
31/10/09 21:16:06 PM - nino (192.168.123.3)> MLSD
31/10/09 21:16:06 PM - nino (192.168.123.3)> 150 Connection accepted
31/10/09 21:16:06 PM - nino (192.168.123.3)> 226 Transfer OK
31/10/09 21:16:21 PM - nino (192.168.123.3)> TYPE I
31/10/09 21:16:21 PM - nino (192.168.123.3)> 200 Type set to I
31/10/09 21:16:21 PM - nino (192.168.123.3)> PASV
31/10/09 21:16:21 PM - nino (192.168.123.3)> 227 Entering Passive Mode (192,168,123,6,7,67)

31/10/09 21:16:21 PM - nino (192.168.123.3)> RETR FSJSetup.exe
31/10/09 21:16:31 PM - nino (192.168.123.3)> ÿôÿòÿABOR
31/10/09 21:16:31 PM - nino (192.168.123.3)> 500 Syntax error, command unrecognized.
31/10/09 21:16:31 PM - nino (192.168.123.3)> ABOR
31/10/09 21:16:31 PM - nino (192.168.123.3)> 226 ABOR command successful
31/10/09 21:16:32 PM - nino (192.168.123.3)> TYPE A
31/10/09 21:16:32 PM - nino (192.168.123.3)> 200 Type set to A
31/10/09 21:16:32 PM - nino (192.168.123.3)> PASV
31/10/09 21:16:32 PM - nino (192.168.123.3)> 227 Entering Passive Mode (192,168,123,6,7,68)
31/10/09 21:16:32 PM - nino (192.168.123.3)> MLSD
31/10/09 21:16:32 PM - nino (192.168.123.3)> 150 Connection accepted
31/10/09 21:16:32 PM - nino (192.168.123.3)> 226 Transfer OK
31/10/09 21:16:40 PM - nino (192.168.123.3)> TYPE I
31/10/09 21:16:40 PM - nino (192.168.123.3)> 200 Type set to I
31/10/09 21:16:40 PM - nino (192.168.123.3)> SIZE wda2320_drivers_110.zip
31/10/09 21:16:40 PM - nino (192.168.123.3)> 550 File not found
31/10/09 21:16:40 PM - nino (192.168.123.3)> PORT 192,168,123,3,19,138
31/10/09 21:16:40 PM - nino (192.168.123.3)> 200 Port command successful
31/10/09 21:16:40 PM - nino (192.168.123.3)> STOR wda2320_drivers_110.zip
31/10/09 21:16:40 PM - nino (192.168.123.3)> 150 Opening data channel for file transfer.
31/10/09 21:16:50 PM - nino (192.168.123.3)> 425 Can't open data connection.
31/10/09 21:16:50 PM - nino (192.168.123.3)> ÿôÿòÿABOR
31/10/09 21:16:50 PM - nino (192.168.123.3)> 500 Syntax error, command unrecognized.
31/10/09 21:16:50 PM - nino (192.168.123.3)> ABOR
31/10/09 21:16:50 PM - nino (192.168.123.3)> 226 ABOR command successful
31/10/09 21:16:50 PM - nino (192.168.123.3)> TYPE A
31/10/09 21:16:50 PM - nino (192.168.123.3)> 200 Type set to A
31/10/09 21:16:50 PM - nino (192.168.123.3)> PASV
31/10/09 21:16:50 PM - nino (192.168.123.3)> 227 Entering Passive Mode (192,168,123,6,7,69)
31/10/09 21:16:50 PM - nino (192.168.123.3)> MLSD
31/10/09 21:16:50 PM - nino (192.168.123.3)> 150 Connection accepted
31/10/09 21:16:50 PM - nino (192.168.123.3)> 226 Transfer OK
31/10/09 21:16:57 PM - nino (192.168.123.3)> QUIT
31/10/09 21:16:57 PM - nino (192.168.123.3)> 221 Goodbye
31/10/09 21:16:57 PM - nino (192.168.123.3)> disconnected.

DesktopX Filezilla Server(192.168.123.7):

31/10/09 21:16:19 PM - (not logged in) (192.168.123.3)> Connected, sending welcome message...
31/10/09 21:16:19 PM - (not logged in) (192.168.123.3)> 220-FileZilla Server version 0.9.31 beta
31/10/09 21:16:19 PM - (not logged in) (192.168.123.3)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
31/10/09 21:16:19 PM - (not logged in) (192.168.123.3)> 220 Please visit http://sourceforge.net/projects/filezilla/
31/10/09 21:16:19 PM - (not logged in) (192.168.123.3)> USER nino
31/10/09 21:16:19 PM - (not logged in) (192.168.123.3)> 331 Password required for nino
31/10/09 21:16:19 PM - (not logged in) (192.168.123.3)> PASS *******
31/10/09 21:16:19 PM - nino (192.168.123.3)> 230 Logged on
31/10/09 21:16:19 PM - nino (192.168.123.3)> SYST
31/10/09 21:16:19 PM - nino (192.168.123.3)> 215 UNIX emulated by FileZilla
31/10/09 21:16:19 PM - nino (192.168.123.3)> FEAT
31/10/09 21:16:19 PM - nino (192.168.123.3)> 211-Features:
31/10/09 21:16:19 PM - nino (192.168.123.3)> MDTM
31/10/09 21:16:19 PM - nino (192.168.123.3)> REST STREAM
31/10/09 21:16:19 PM - nino (192.168.123.3)> SIZE
31/10/09 21:16:19 PM - nino (192.168.123.3)> MLST type*;size*;modify*;
31/10/09 21:16:19 PM - nino (192.168.123.3)> MLSD
31/10/09 21:16:19 PM - nino (192.168.123.3)> UTF8
31/10/09 21:16:19 PM - nino (192.168.123.3)> CLNT
31/10/09 21:16:19 PM - nino (192.168.123.3)> MFMT
31/10/09 21:16:19 PM - nino (192.168.123.3)> 211 End
31/10/09 21:16:19 PM - nino (192.168.123.3)> CLNT FlashFXP 3.6.0.1240
31/10/09 21:16:19 PM - nino (192.168.123.3)> 200 Don't care
31/10/09 21:16:19 PM - nino (192.168.123.3)> OPTS UTF8 ON
31/10/09 21:16:19 PM - nino (192.168.123.3)> 200 UTF8 mode enabled
31/10/09 21:16:19 PM - nino (192.168.123.3)> PWD
31/10/09 21:16:19 PM - nino (192.168.123.3)> 257 "/" is current directory.
31/10/09 21:16:19 PM - nino (192.168.123.3)> TYPE A
31/10/09 21:16:19 PM - nino (192.168.123.3)> 200 Type set to A
31/10/09 21:16:19 PM - nino (192.168.123.3)> PASV
31/10/09 21:16:19 PM - nino (192.168.123.3)> 227 Entering Passive Mode (192,168,123,7,5,211)
31/10/09 21:16:19 PM - nino (192.168.123.3)> MLSD
31/10/09 21:16:19 PM - nino (192.168.123.3)> 150 Connection accepted
31/10/09 21:16:19 PM - nino (192.168.123.3)> 226 Transfer OK
31/10/09 21:16:37 PM - nino (192.168.123.3)> TYPE I
31/10/09 21:16:37 PM - nino (192.168.123.3)> 200 Type set to I
31/10/09 21:16:37 PM - nino (192.168.123.3)> SIZE FSJSetup.exe
31/10/09 21:16:37 PM - nino (192.168.123.3)> 550 File not found
31/10/09 21:16:37 PM - nino (192.168.123.3)> PORT 192,168,123,3,19,137
31/10/09 21:16:37 PM - nino (192.168.123.3)> 200 Port command successful
31/10/09 21:16:37 PM - nino (192.168.123.3)> STOR FSJSetup.exe
31/10/09 21:16:37 PM - nino (192.168.123.3)> 150 Opening data channel for file transfer.
31/10/09 21:16:47 PM - nino (192.168.123.3)> 425 Can't open data connection.
31/10/09 21:16:48 PM - nino (192.168.123.3)> ÿôÿÿABOR
31/10/09 21:16:48 PM - nino (192.168.123.3)> 500 Syntax error, command unrecognized.
31/10/09 21:16:48 PM - nino (192.168.123.3)> ABOR
31/10/09 21:16:48 PM - nino (192.168.123.3)> 226 ABOR command successful
31/10/09 21:16:48 PM - nino (192.168.123.3)> TYPE A
31/10/09 21:16:48 PM - nino (192.168.123.3)> 200 Type set to A
31/10/09 21:16:48 PM - nino (192.168.123.3)> PASV
31/10/09 21:16:48 PM - nino (192.168.123.3)> 227 Entering Passive Mode (192,168,123,7,5,214)
31/10/09 21:16:48 PM - nino (192.168.123.3)> MLSD
31/10/09 21:16:48 PM - nino (192.168.123.3)> 150 Connection accepted
31/10/09 21:16:48 PM - nino (192.168.123.3)> 226 Transfer OK
31/10/09 21:16:56 PM - nino (192.168.123.3)> TYPE I
31/10/09 21:16:56 PM - nino (192.168.123.3)> 200 Type set to I
31/10/09 21:16:56 PM - nino (192.168.123.3)> PASV
31/10/09 21:16:56 PM - nino (192.168.123.3)> 227 Entering Passive Mode (192,168,123,7,5,215)
31/10/09 21:16:56 PM - nino (192.168.123.3)> RETR wda2320_drivers_110.zip
31/10/09 21:17:06 PM - nino (192.168.123.3)> ÿôÿòÿABOR
31/10/09 21:17:06 PM - nino (192.168.123.3)> 500 Syntax error, command unrecognized.
31/10/09 21:17:06 PM - nino (192.168.123.3)> ABOR
31/10/09 21:17:06 PM - nino (192.168.123.3)> 226 ABOR command successful
31/10/09 21:17:06 PM - nino (192.168.123.3)> TYPE A
31/10/09 21:17:06 PM - nino (192.168.123.3)> 200 Type set to A
31/10/09 21:17:06 PM - nino (192.168.123.3)> PASV
31/10/09 21:17:06 PM - nino (192.168.123.3)> 227 Entering Passive Mode (192,168,123,7,5,216)
31/10/09 21:17:06 PM - nino (192.168.123.3)> MLSD
31/10/09 21:17:06 PM - nino (192.168.123.3)> 150 Connection accepted
31/10/09 21:17:06 PM - nino (192.168.123.3)> 226 Transfer OK
31/10/09 21:17:15 PM - nino (192.168.123.3)> QUIT
31/10/09 21:17:15 PM - nino (192.168.123.3)> 221 Goodbye
31/10/09 21:17:15 PM - nino (192.168.123.3)> disconnected.

* screen shot if necessary.

FlashFXP log window:

WinSock 2.0 -- OpenSSL 0.9.8g 19 Oct 2007
[L] Connecting to DesktopX -> IP=192.168.123.7 PORT=21
[L] Connected to DesktopX
[L] 220-FileZilla Server version 0.9.31 beta
[L] 220-written by Tim Kosse (Tim.Kosse@gmx.de)
[L] 220 Please visit http://sourceforge.net/projects/filezilla/
[L] USER nino
[L] 331 Password required for nino
[L] PASS (hidden)
[L] 230 Logged on
[L] SYST
[L] 215 UNIX emulated by FileZilla
[L] FEAT
[L] 211-Features:
[L] MDTM
[L] REST STREAM
[L] SIZE
[L] MLST type*;size*;modify*;
[L] MLSD
[L] UTF8
[L] CLNT
[L] MFMT
[L] 211 End
[L] CLNT FlashFXP 3.6.0.1240
[L] 200 Don't care
[L] OPTS UTF8 ON
[L] 200 UTF8 mode enabled
[L] PWD
[L] 257 "/" is current directory.
[L] TYPE A
[L] 200 Type set to A
[L] PASV
[L] 227 Entering Passive Mode (192,168,123,7,5,211)
[L] Opening data connection IP: 192.168.123.7 PORT: 1491
[L] MLSD
[L] 150 Connection accepted
[L] 226 Transfer OK
[L] List Complete: 952 bytes in 0.06 seconds (14.8 KB/s)
[R] Connecting to Tower -> IP=192.168.123.6 PORT=21
[R] Connected to Tower
[R] 220-FileZilla Server version 0.9.31 beta
[R] 220-written by Tim Kosse (Tim.Kosse@gmx.de)
[R] 220 Please visit http://sourceforge.net/projects/filezilla/
[R] USER nino
[R] 331 Password required for nino
[R] PASS (hidden)
[R] 230 Logged on
[R] SYST
[R] 215 UNIX emulated by FileZilla
[R] FEAT
[R] 211-Features:
[R] MDTM
[R] REST STREAM
[R] SIZE
[R] MLST type*;size*;modify*;
[R] MLSD
[R] UTF8
[R] CLNT
[R] MFMT
[R] 211 End
[R] CLNT FlashFXP 3.6.0.1240
[R] 200 Don't care
[R] OPTS UTF8 ON
[R] 200 UTF8 mode enabled
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A
[R] PASV
[R] 227 Entering Passive Mode (192,168,123,6,7,66)
[R] Opening data connection IP: 192.168.123.6 PORT: 1858
[R] MLSD
[R] 150 Connection accepted
[R] 226 Transfer OK
[R] List Complete: 2 KB in 0.08 seconds (27.0 KB/s)
[R] TYPE I
[R] 200 Type set to I
[L] TYPE I
[L] 200 Type set to I
[R] PASV
[R] 227 Entering Passive Mode (192,168,123,6,7,67)
[L] PORT 192,168,123,6,7,67
[L] 200 Port command successful

[L] STOR FSJSetup.exe
[L] 150 Opening data channel for file transfer.
[R] RETR FSJSetup.exe
[L] 425 Can't open data connection.
[R] ABOR
[R] 500 Syntax error, command unrecognized.
[L] ABOR
[L] 500 Syntax error, command unrecognized.
[L] Transfer Failed!
[L] TYPE A
[L] 200 Type set to A
[L] PASV
[L] 227 Entering Passive Mode (192,168,123,7,5,214)
[L] Opening data connection IP: 192.168.123.7 PORT: 1494
[L] MLSD
[L] 150 Connection accepted
[L] 226 Transfer OK
[L] List Complete: 952 bytes in 0.05 seconds (19.8 KB/s)
[R] TYPE A
[R] 200 Type set to A
[R] PASV
[R] 227 Entering Passive Mode (192,168,123,6,7,68)
[R] Opening data connection IP: 192.168.123.6 PORT: 1860
[R] MLSD
[R] 150 Connection accepted
[R] 226 Transfer OK
[R] List Complete: 2 KB in 0.11 seconds (19.3 KB/s)
Transfer queue completed
1 File failed to transfer
[L] TYPE I
[L] 200 Type set to I
[R] TYPE I
[R] 200 Type set to I
[L] PASV
[L] 227 Entering Passive Mode (192,168,123,7,5,215)
[R] PORT 192,168,123,7,5,215
[R] 200 Port command successful

[R] STOR wda2320_drivers_110.zip
[R] 150 Opening data channel for file transfer.
[L] RETR wda2320_drivers_110.zip
[R] 425 Can't open data connection.
[L] ABOR
[L] 500 Syntax error, command unrecognized.
[R] ABOR
[R] 500 Syntax error, command unrecognized.
[R] Transfer Failed!
[L] TYPE A
[L] 200 Type set to A
[L] PASV
[L] 227 Entering Passive Mode (192,168,123,7,5,216)
[L] Opening data connection IP: 192.168.123.7 PORT: 1496
[L] MLSD
[L] 150 Connection accepted
[L] 226 Transfer OK
[L] List Complete: 952 bytes in 0.05 seconds (19.8 KB/s)
[R] TYPE A
[R] 200 Type set to A
[R] PASV
[R] 227 Entering Passive Mode (192,168,123,6,7,69)
[R] Opening data connection IP: 192.168.123.6 PORT: 1861
[R] MLSD
[R] 150 Connection accepted
[R] 226 Transfer OK
[R] List Complete: 2 KB in 0.09 seconds (22.4 KB/s)
Transfer queue completed
1 File failed to transfer
[R] QUIT
[R] 221 Goodbye
[R] Logged off: Tower
[L] QUIT
[L] 221 Goodbye
[L] Logged off: DesktopX

* any other info: Windows Firewall disabled on all computers, All in the same local network 192.168.123.x. FlashFXP client runs on 192.168.123.3.
First attempt is to transfer file FSJSetup.exe from Tower to DesktopX. Next attempt is to transfer wda2320_drivers_110.zip from DesktopX to Tower.

IMPORTANT: Noticed that FlashFXP log window contents do not match actual Network traffic (Wireshark capture - not included). Specifically, PORT command on receiving server indicates FXP client IP and port and not PASV port of sending server's response (although FlashFXP log is correct). Also SIZE command sent to receiving server does not appear in FlashFXP log.
survivor is offline  
Old 11-01-2009, 03:20 PM   #2
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

hidden size command is a feature and is working by design. It is used for a more accurate 'file skip' functionality. it's hidden so not to pointlessly spam client's session log window since result of that command is irrelevant for the end user.

the fact that in the 1st transfer attempt DesktopX is getting wrong PORT command, while flashfxp is sending the right one usually means you have some network device between computer running FlashFXP and those servers monitor ftp traffic and rewrites PORT command to have client's IP thinking that its helping with NAT translation.

if you'll move your ftp servers to a port other than 21, your router won't messing with your traffic and FXP transfers will work.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 11-01-2009, 08:51 PM   #3
survivor
Junior Member
 
Join Date: Nov 2009
Posts: 3
Default

Hey, I didn't expect to get an answer on weekend. Thanks.
Also, you're absolutely right. I forgot to turn off Windows Firewall on client machine. When it's off, FXP transfers work fine. However, it's not recommended to have it always off so could you point me to a thread (I assume this has been explained somewhere) that details Windows Firewall customization to avoid FXP PORT command rewrite?
Thanks again
survivor is offline  
Old 11-01-2009, 10:48 PM   #4
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

edit flashfxp.ini and add FxpNatTrick=1 under [Main] section.
restart flashfxp and try again
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 11-02-2009, 06:28 PM   #5
survivor
Junior Member
 
Join Date: Nov 2009
Posts: 3
Default

Hey, it solved the issue.
Very clever to break up the FTP segment involving the PORT command but I think this trick won't work behind a firewall appliance (they gather a complete TCP segment before analyzing the traffic). I assume FtpNatTrick does a similar fixup for FTP behind firewall.
Thanks for the superb support!
survivor is offline  
Old 11-03-2009, 01:52 AM   #6
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

buy flashfxp
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Closed Thread

Tags
192.168.123.3, 31/10/09, flashfxp, ftp, fxp

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:06 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)