Can I connect to a mainframe server? (e.g. VMS, MVS, AS/400)

WinSCP in general requires the server to follow *nix path semantics – hierarchical paths starting with a slash, with individual path components separated by slashes.


This is not a problem, if your server supports SFTP protocol, as the SFTP protocol itself mandates *unix-like path format. So even if the server itself uses a different native path format, it has to emulate the *nix format for SFTP.


On the contrary, FTP protocol does not have such requirement. It allows the server to keep its native path format. WinSCP has limited support for working with such paths. In some cases it can work, but not always.

Some servers allow switching to *nix path format optionally. For example to configure IBM Power Systems (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. See also topic on connecting to IBM Power Systems server with WinSCP.

Last modified: by martin