Topic "WinScp, Filezilla-server and FTPS passive mode"

Author Message
ciove
[View user's profile]

Joined: 2011-06-22
Posts: 9
Hi,
I struggled with filetransfer in between WinScp-client and Filezilla-server with FTPs-protocol with passive mode enabled.

To see what passive FTP means, see here: http://slacksite.com/other/ftp.html#passive. In short it means that FTP(s) server tells the client which TCP-port to use for file transfer. If you can log on to server, but cannot transfer files with FTP or FTPs protocol, this post is for you.

For some reason the Filezilla-server, in some cases, can tell incorrect IP address (=not the same as used to log on) for the passive data transfer. However, you can force WinScp to use the same address by switching the "Force IP address for passive mode connections" -setting on. The documentation for that is here:
https://winscp.net/eng/docs/ui_login_ftp

If you want to set the switch on for all FTP-sessions, you can set is as default e.g. like this:


    * Set the Configuration Storage to winscp.ini and open it (located in the same folder as winscp.exe and winscp.com).
    * Search for "[Sessions\Default%20Settings]" -section in winscp.ini. If you don't find it, create it.
    * Add FtpForcePasvIp=1 -line to "[Sessions\Default%20Settings]" -section.
    * Save and close winscp.ini.
    Quote:
    [Sessions\Default%20Settings]
    FtpForcePasvIp=1

Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License