This is an old revision of the document!

Documentation » Configuration » Login Dialog » Advanced » Environment »

FTP Page (Advanced Site Settings dialog)

The FTP page on the Advanced Site Settings dialog allows user to configure FTP protocol specific options.

_login_page

Advertisement

To reveal this page you need to select FTP file protocol on Login dialog.

Refer to documentation of page sections:

Post Login Commands

Use Post login commands to specify set of FTP protocol commands that should be issued automatically just after login. This is typically used to issue commands that change session configuration or state. Only commands that require no interaction with client can be used.

For example to configure IBM System i (eServer iSeries, AS/400) for Unix/WinSCP compatibility, use following two Post login commands:

site namefmt 1
site listfmt 1

Refer to IBM documentation for these commands.

Other Protocol Options

The Use MLSD command for directory listing controls, if WinSCP uses MLSD or (deprecated) LIST command for directory listing and MLST or SIZE/MDTM for retrieving file properties1. When set to Auto (preferred), WinSCP decides based on announced features of FTP servers. Use Off only, if server’s implementation of MLSD/MLST command has bugs; or if you need to display hidden files and your FTP server does not include them into MLSD listing. The option affects use of MLST in the latest beta release only.

Advertisement

The Support for listing of hidden files controls if WinSCP should use command LIST -a for directory listing to request listing of all (including hidden) files. You still need to enable showing hidden files to have them displayed actually. When set to Auto, WinSCP will try one time to use the -a switch, unless the server is known not to support it2. If that fails (for whatever reason), it stops using the switch for current session. Some servers may not report an error even if they do not support the switch. This may result into empty directory listing. Disable the option if that happens. The option is not available, if MLSD command is used for directory listing, see above.

The Force IP address for passive mode connections controls, if WinSCP should use the external IP address of the FTP host instead the IP address provided by the server. This is useful when the IP address is translated (NAT). The option is available for passive mode only. When set to Auto, WinSCP uses the external IP address automatically, when the provided IP address is not routable.

Further Reading

Read more about Login dialog and Advanced Site Settings dialog.

  1. Falling back to LIST, if SIZE or MDTM is not supported. In versions prior to the latest beta release, only LIST is supported.Back
  2. Personal FTP server.Back

Last modified: by martin