Your browser does not support HTML5 local storage or you have disabled it. Some functionality on this site, including saving your privacy settings and offering you special discounts, uses local storage and may not work with local storage disabled. We recommend allowing the use of local storage in your browser. In some browsers, it is the same setting used for disabling cookies.
File transfer from Unix to a mainframe partitioned dataset member using an advice string for defining the ASCII/EBCDIC conversion. The filename is defined with quotes so a full DSN (dataset name) is used.
sftp> put testfile /ftadv:D=IBM-1047,C=ISO8859-1/___user.test.file/mem1
File transfer from Unix to a mainframe sequential dataset using a file transfer profile for defining the ASCII/EBCDIC conversion. The filename is defined without quotes so the DSN prefix is added to the filename.
On the mainframe host, create the file transfer profile configuration file ($HOME/.ssh2/ssh_ftadv_config) that contains a filename-matching profile:
After the file transfer profile configuration file is set, the file can be transferred with the following commands: