The GET i5/OS® FTP client subcommand copies a file from the remote system to the local system.
Get remotefile [localfile]
[(Replace]
The file system in which the file resides determines which file name format you use with the GET subcommand.
GET /QDLS/QIWSOS2/PCSMENU.EXE
GET YOURLIB/YOURFILE.YOURMBR (REPLACE
Assuming that the remote system is a System i™ product, this command gets the YOURMBR member of YOURFILE file in YOURLIB library and places it in YOURMBR member of YOURFILE file in your current directory on your local system.
If the remote file name requires apostrophes as part of the file name, then enclose the file name within two more sets of apostrophes. The following example gets 'MEMBER.ONE' from the remote host.
GET LIBRARY/FILE.MEMBER 'MEMBER.ONE'