Trying to download a tape file from IBM ZOS system
Executing: "C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="mylog2.log" /ini=nul ^
/command ^
"open ftpes://xxxxxx:xxxxxxx1@char.mvs.us.ups.com/ -certificate="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -rawsettings MinTlsVersion=12" ^
"cd 'N311.TMP.DAY2'" ^
"pwd" ^
"lcd \\SVRP0002316F\USERS\UPSCITDataStore\MDrive\ICRIS_Data" ^
"lpwd" ^
"get AT.CCRIS.TP -transfer=ascii" ^
"exit"
Where AT.CCRIS.TP is a 1 Gigabyte tape file.
The log message is:
. 2019-10-21 11:10:18.241 B06283 Tape AT.CCRIS.TP
. 2019-10-21 11:10:18.241 R92178 Tape VN.CCRIS.TP
< 2019-10-21 11:10:18.257 250 List completed successfully.
. 2019-10-21 11:10:18.257 Directory listing successful
< 2019-10-21 11:10:18.257 Script: Can't get attributes of file 'AT.CCRIS.TP'.
< 2019-10-21 11:10:18.257 File or folder 'AT.CCRIS.TP' does not exist.
. 2019-10-21 11:10:18.257 Script: Failed
. 2019-10-21 11:10:18.257 Script: Exit code: 1
. 2019-10-21 11:10:18.257 Disconnected from server
What WINSCP commands will enable me to download tape files from an IBM ZOS Mainframe?
/log="mylog2.log" /ini=nul ^
/command ^
"open ftpes://xxxxxx:xxxxxxx1@char.mvs.us.ups.com/ -certificate="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -rawsettings MinTlsVersion=12" ^
"cd 'N311.TMP.DAY2'" ^
"pwd" ^
"lcd \\SVRP0002316F\USERS\UPSCITDataStore\MDrive\ICRIS_Data" ^
"lpwd" ^
"get AT.CCRIS.TP -transfer=ascii" ^
"exit"
Where AT.CCRIS.TP is a 1 Gigabyte tape file.
The log message is:
. 2019-10-21 11:10:18.241 B06283 Tape AT.CCRIS.TP
. 2019-10-21 11:10:18.241 R92178 Tape VN.CCRIS.TP
< 2019-10-21 11:10:18.257 250 List completed successfully.
. 2019-10-21 11:10:18.257 Directory listing successful
< 2019-10-21 11:10:18.257 Script: Can't get attributes of file 'AT.CCRIS.TP'.
< 2019-10-21 11:10:18.257 File or folder 'AT.CCRIS.TP' does not exist.
. 2019-10-21 11:10:18.257 Script: Failed
. 2019-10-21 11:10:18.257 Script: Exit code: 1
. 2019-10-21 11:10:18.257 Disconnected from server
What WINSCP commands will enable me to download tape files from an IBM ZOS Mainframe?