$ ftp zos
Connected to zos (10.10.10.10).
220----- SSH FTP-SFTP Conversion ------
220------------------------------------
220 Your FTP connection is now SECURED!
Name (zos:user1): user1
331 Send password please.
Password:
230 You are logged on.
Remote system type is MVS.
ftp> ls
227 Entering Passive Mode (127,0,0,1,78,32).
150 Connecting to data port.
Volume Referred Recfm Lrecl BlkSz Dsorg Space Dsname
Z6SYS1 Jul 17 2006 VB 1024 27998 PS 50001 BINARY.FILE
Z6SYS1 Jul 17 2006 VB 1024 27998 PS 50001 FILE1.PS
Z6SYS1 Jul 17 2006 FB 80 6080 PS 50001 FILE1.VSAM
Z6SYS1 Jul 17 2006 FB 80 27920 PO 50001 PDS
Z6SYS1 Jul 25 2006 VB 1024 27998 PO 50001 SAMPLIB
Z6SYS1 Jul 25 2006 VB 1024 27998 PS 50001 TEST.PS.FILE2
Z6SYS1 Jul 25 2006 VB 1024 27998 PO 50001 TEST2.PDS
226 List completed successfully.
ftp> get FILE1.PS /tmp/file1.txt
local: /tmp/file1.txt remote: FILE1.PS
227 Entering Passive Mode (127,0,0,1,78,33).
150 Connecting to data port.
226 Transfer completed successfully.
49 bytes received in 0.421 secs (0.11 Kbytes/sec)
ftp> cd test2.
250 "'USER1.TEST2.'" is the working directory name prefix.
ftp> cd PDS
250 The working directory "'USER1.TEST2.PDS'" is a partitioned data set.
ftp> ls
227 Entering Passive Mode (127,0,0,1,78,34).
150 Connecting to data port.
MEMBER1
226 List completed successfully.
ftp> put textfile.txt member2
local: textfile.txt remote: member2
227 Entering Passive Mode (127,0,0,1,78,35).
150 Connecting to data port.
226 Transfer completed successfully.
71 bytes sent in 3.3e-05 secs (2.1e+03 Kbytes/sec)
ftp>
|