File Transfer
Upload a File from PC to Mainframe
- Log into TSO session
- Go to READY prompt (exit ISPF)
- Enter command:
IND$FILE PUT CLEANUP.PROC ASCII CRLF LRECL(80) RECFM(F)
- Press Enter. You should see a message at the top of the screen "File transfer in progress"
- Press ESC to go to ZTI shell mode
- Enter command:
upload /path/to/laptop/file.txt
- ZTI will upload the file and return you to the TSO READY prompt
- Repeat from step 3 to upload more files.
Download Files from PC to Mainframe
- Log into TSO session
- Go to READY prompt (exit ISPF)
- Enter command:
IND$FILE GET CLEANUP.PROC ASCII CRLF
- Press Enter. You should see a message at the top of the screen "File transfer in progress" and a countdown of bytes.
Wait until the message disappears. - Repeat steps 3 and 4 for as many files as you want to download.
- Press ESC to go to ZTI shell mode
- Enter command
downloads
to see a list of pending downloaded files. - Enter command
receive /path/to/laptop/file.txt
. This will bring in the first file from the downloads list. Note that shell expansions like ~
do not work! - Repeat steps 7 and 8 for all the available files.
- Enter command
goto
to return to the TSO READY prompt.