PDA

View Full Version : problem transfer files


torlas
04-06-2010, 04:38 PM
Hi :)

I`m new here and not knowing so much about fxp.
Anyway, my friend an me have tried transfer files between 2 servers for some time now. I have no problem doing this. I can add and send files both way, but he can`t do anything but dowloud files to his local pc. However, the same problem occure when I take my laptop over to his local network at his home.

My first thought is of course that it`s a local networks problem, but I wonder why a local network should interfere up to a transfer like this. As long as he can manage to move files down to his local pc from any of this servers. I just can`t understand what`s wrong. He has tried to deactivate his firewall as well, but configurate his router correctly, we do not know how to do.

I use Flashfxp 3.4.0 and he use version FlashFXP v3.7.8 build 1332 [BETA]

Here is some from the log file:
[L] PASV
[L] 227 Entering Passive Mode (94,23,47,165,191,47).
[L] Opening data connection IP: xx.xx.47.165 PORT: xxxx
[L] LIST -al
[L] 150 Opening ASCII mode data connection for file list
[L] 226 Transfer complete
[L] List Complete: 4 KB in 1,23 second (3,5 KB/s)
[L] Calculating timezone offset of server...
[L] MDTM Border security S02E16.ts
[L] 213 20100406162813
[L] Timezone offsets: Server: -13 seconds. Local: 7200 seconds. Difference: 7213 seconds.
[R] CWD Downloads
[R] 250 CWD command successful
[R] PWD
[R] 257 "/Downloads" is the current directory
[R] PASV
[R] 227 Entering Passive Mode (89,149,254,54,181,87).
[R] Opening data connection IP: xx.xxx.254.54 PORT: xxxx
[R] MLSD
[R] 150 Opening ASCII mode data connection for MLSD
[R] 226 Transfer complete
[R] List Complete: 4 KB in 0,34 seconds (13,5 KB/s)
[L] CWD /Downloads/Hotel.Caesar.S27E50.WebTvRip-ViRUS
[L] 250 CWD command successful
[L] PWD
[L] 257 "/Downloads/Hotel.Caesar.S27E50.WebTvRip-ViRUS" is the current directory
[L] PASV
[L] 227 Entering Passive Mode (94,23,47,165,140,213).
[L] Opening data connection IP: xx.xx.89.269. PORT: xxxx
[L] LIST -al
[L] 150 Opening ASCII mode data connection for file list
[L] 226 Transfer complete
[L] List Complete: 207 bytes in 0,33 seconds (0,6 KB/s)
[R] MKD /Downloads/Hotel.Caesar.S27E50.WebTvRip-ViRUS
[R] 257 "/Downloads/Hotel.Caesar.S27E50.WebTvRip-ViRUS" - Directory successfully created
[R] CWD /Downloads/Hotel.Caesar.S27E50.WebTvRip-ViRUS
[R] 250 CWD command successful
[R] PWD
[R] 257 "/Downloads/Hotel.Caesar.S27E50.WebTvRip-ViRUS" is the current directory
[R] PASV
[R] 227 Entering Passive Mode (89,149,254,54,135,24).
[R] Opening data connection IP: xx.xxx.xxx.xx PORT: xxxx
[R] MLSD
[R] 150 Opening ASCII mode data connection for MLSD
R] 226 Transfer complete
[R] List Complete: 229 bytes in 0,20 seconds (1,1 KB/s)
[L] TYPE I
[L] 200 Type set to I
[R] TYPE I
[R] 200 Type set to I
[R] PASV
[R] 227 Entering Passive Mode (xx,xx,xxx,xx,xxx,xx).
[L] PORT xxxxxxxxxxxxxx
[L] 200 PORT command successful
[R] STOR Hotel.Caesar.S27E50.WebTvRip-ViRUS.wmv
[L] RETR Hotel.Caesar.S27E50.WebTvRip-ViRUS.wmv
[L] 425 Unable to build data connection: Connection refused
[L] ABOR
[L] 226 Abort successful
[R] ABOR
[R] Transfer Failed!


Hope someone can help us. Thanks for answer.



Torlas

MxxCon
04-07-2010, 08:18 AM
his router is intercepting ftp commands and rewrites PORT commands so that instead of it having IP of the other site, such router thinks that your ftp client is sending wrong IP and replaces it with its own.

if you can, disable this feature in the router, or move ftp to another port where hopefully router won't do that, or enable encryption so that router can't see raw commands you are sending.

torlas
04-07-2010, 11:53 AM
Hi

Thanks a lot for quick answer :)

Have no acess to do any change in the server. We just pay for a sharing seedbox and can only dispose some disk size at this server.

About doing something in the router we have tried, but it seem to be difficult.
I think the soloution is to change his router to a more updated one.
Gues he can get a new from his internet provider.

Anyhow, I still dont see why a router at home should interfer with connection between 2 ftp servers.?

However, I`m just a ordinary man with a slight knowlegde about this.

Again Thank for u answer!!

Torlas

MxxCon
04-07-2010, 04:31 PM
during regular ftp session when you transfer a file, ftp client will send a PORT command that should contain your internet IP. some ftp clients don't know the difference between internet ip and local ip, so they will mistakenly send PORT command with an ip from your lan(192.168.0.x or whatever other range you use). your router thinks its helping you by modifying this PORT command with any ip address to your internet ip, allowing downloads or uploads to work.
during FXP transfers you know what PORT command should contain, however your router doesn't, so it still blindly modifying that command.

torlas
04-08-2010, 03:31 AM
Thank you!...Very good and detailed explanation ;-)

MxxCon
04-08-2010, 07:55 AM
how about buying flashfxp instead of using warezed version?

torlas
04-08-2010, 01:33 PM
Yes,sorry of course. No problem
I can buy it. Guess it dont cost so much?

DayCuts
04-09-2010, 10:03 PM
For a lifetime license for software that is daily use for a lot of people here the price is very good.