Figure 5: Maintaining file definitions in iSeries-to-iSeries
transfersby restoring
your files after they're transferred
ftp> bin
(Set Transfer Type to TYPE I (Binary))
ftp> NA 0
(Switch Name Format to 0 on both iSeries)
ftp> syscmd crtsavf qtemp/mysavf
(Create the save file to send to the remote system)
ftp> syscmd savobj obj(objname) lib(libname) dev(*savf) savf(qtemp/mysavf)
(Save File to an iSeries Save File in QTEMP)
ftp> quote rcmd crtsavf qtemp/mysavf
(Create the Save file in QTEMP on the remote system)
ftp> put qtemp/mysavf qtemp/mysavf
(Send Save file to remote system)
ftp> quote rcmd rstobj obj(objname) savlib(libname) dev(*savf) +
@@savf(qtemp/mysavf)
(Restore file from Save file)
ftp> quit
(End FTP Session)