Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: Using WINSCP to download a mainframe tape file

This issue has been added to the tracker:

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.

Using WINSCP to download a mainframe tape file

Per your request, I have attached the entire mylog for this transfer attempt

Re: Trying to download a tape file from IBM ZOS system

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Trying to download a tape file from IBM ZOS system

Executing: "C:\Program Files (x86)\WinSCP\" ^
/log="mylog2.log" /ini=nul ^
/command ^
"open ftpes:// -certificate="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -rawsettings MinTlsVersion=12" ^
"cd 'N311.TMP.DAY2'" ^
"pwd" ^
"lcd \\SVRP0002316F\USERS\UPSCITDataStore\MDrive\ICRIS_Data" ^
"lpwd" ^
"get AT.CCRIS.TP -transfer=ascii" ^

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?