PUT Remote Object (PUTRMTOBJ) command:

The command that allows an object to be transferred (save/restored) between AS/400's using FTP is called PUTRMTOBJ.

This command supports only "native" LFS (Library File System) transfers. This command saves the object from the local machine using the save file specified, transfers it to a remote system using FTP, and then restores the object into the specified library on the target system.

An example of an object transfer looks like the following:

                          PUT Remote Object (PUTRMTOBJ)                         
                                                                                
 Type choices, press Enter.                                                     
                                                                                
 Remote user profile  . . . . . .   YOURSELF      Name, *CURRENT                
 Remote user password . . . . . .                 Character value               
 Remote system  . . . . . . . . .   SAPTEST_____________________________________
________________________________________________________________________________
________________________________________________________________________________
____________________________________________________                            
 Object name to copy  . . . . . .   MYFILE        Name                          
   Library  . . . . . . . . . . .     MYLIB       Name, *LIBL, *CURLIB          
 Object type to copy  . . . . . .   *FILE         *ALRTBL, *AUTL, *BNDDIR...    
 Save file on target system . . .   MYSAVF        Name                          
   Library  . . . . . . . . . . .     MYLIB       Name, *LIBL, *CURLIB          
 Restore to library . . . . . . .   *SAVLIB       Name, *SAVLIB                 
 Submit job to batch  . . . . . .   *YES          *YES, *NO                     
 Job description  . . . . . . . .   *USRPRF       Name, *USRPRF                 
   Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB          
                                                                                
                                                                                
                                                                         Bottom 
 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    
 F24=More keys                                                                  

You must have save rights on the source AS/400, restore rights on the target AS/400 and access to the RSTOBJ command on the source AS/400.