PDA

View Full Version : Site to Site Tranfer Failing


Rellik
08-09-2010, 06:31 PM
Im new to this and looked around, but dont see a resolution. I searched threads and saw many with same issues in the past.
Any idea why this fails ?


[R] TYPE I
[R] 200 TYPE is now 8-bit binary
[L] PASV
[L] 227 Entering Passive Mode (204,45,59,210,191,223).
[R] PORT 204,45,59,210,191,223
[R] 200 PORT command successful
[R] STOR 01 - Folkloric Feel.mp3
[R] 425 Could not open data connection to port 53294: Connection refused
[R] Transfer Failed!

I have a feeling on what the answer will be, but hoping thats its not blocked.

bigstar
08-09-2010, 07:25 PM
This indicates that FTP server R is unable to establish a direct connection to server L.

Assuming that both FTP servers are configured to allow site to site transfers this could be caused by a firewall on server L.

Rellik
08-09-2010, 07:31 PM
Hmmm interesting, so i can connect to both sites, but could still be blocked somehow.

Im being told from both sides this is normal to transfer from site to site.

It looks to be R side is blocked though

[R] 257 "/www/downloads/fink/Apostle of Hustle - Folkloric Feel (2004)" is your current location
[L] TYPE I
[L] 200 Type set to I
[R] TYPE I
[R] 200 TYPE is now 8-bit binary
[L] PASV
[L] 227 Entering Passive Mode (204,45,59,210,183,16).
[R] PORT 204,45,59,210,183,16
[R] 200 PORT command successful
[R] STOR 01 - Folkloric Feel.mp3
[R] 425 Could not open data connection to port 33562: Connection refused
[R] Transfer Failed!

MxxCon
08-09-2010, 07:41 PM
enable alternative FXP and try again.

it could also be that YOUR router is messing up with FXP transfers.
if you can enable ssl encryption when you connect to either site and try again.

Rellik
08-09-2010, 07:48 PM
I been trying various combinations, not hit any combo that works yet.

How would my router mess up the connection if it is connecting the two sites together ?

bigstar
08-09-2010, 08:21 PM
It depends on the implementation of NAT (Network Address Translation) on the router.

Some routers have been known to modify the PORT command by replacing the PORT info from the server with the IP of your own router because they think assume its a local transfer and not site to site transfer.

Rellik
08-09-2010, 08:24 PM
It depends on the implementation of NAT (Network Address Translation) on the router.

Some routers have been known to modify the PORT command by replacing the PORT info from the server with the IP of your own router because they think assume its a local transfer and not site to site transfer.



What would be a possible fix to this issue ? Im still not having luck trying alternate settings.

MxxCon
08-09-2010, 11:16 PM
ssl encryption so that router can't see what's going on inside of the ftp session or if you can, move ftp server to port other than 21

Rellik
08-10-2010, 07:14 AM
I tired using other ports and didnt seem to make any difference. I tried a couple different ftp programs, i was able to make it at least work with Core FTP, but speed looks to be limited by my connection here which i dont understand if im connecting the 2 servers together.

I duplicated setting for coreftp to Flashfxp and it still fails to transfer. Im really at a loss here. Any suggestions ?

MxxCon
08-10-2010, 07:56 AM
enable alternative FXP mode. both session logs you posted show exactly the same sequence of commands.
with alternative FXP your [L] site will be sending PORT command and [R] site will be sending PASV

Rellik
08-10-2010, 09:10 AM
Enabling alternate mode(s), it fails instantly soon as it tries transfer. I have tied about every combo i can think of.

bigstar
08-10-2010, 09:33 AM
It can be your router or firewall.

Windows Internet connection sharing can also interfere with it.

If possible try connecting your computer as direct as possible to your internet connection bypassing any routers/firewalls.

Rellik
08-10-2010, 07:06 PM
Well i have tried all suggestions here, alternate method, bypassed both routers, disabled firewall / AV. Still no luck, it refuses connection on site to site. On other hand Core FTP is working like a champ on site to site now. I will keep at it and maybe find a magical combo that might work

bigstar
08-10-2010, 09:12 PM
Core FTP has a local site to site mode which downloads the file to your computer and then uploads it to the other server. Are you using this method or are you doing a direct site to site transfer?

There is one last thing you can try with FlashFXP but its an advanced trick.

Locate the FlashFXP.ini this can be found via the main menu > Help > About > Detail tab

Open it in notepad.exe and under the line [main]

Add this
FxpNatTrick=1

So it would look like

[main]
FxpNatTrick=1
....rest of the settings

Save the flashfxp.ini and start FlashFXP and try again

This sends the PORT command in a way that can sometimes work around router/firewall issues.