VMS Help  —  SCP  Examples
    o  The following example shows how to copy the file FILE.TXT from
       the local system to a remote system named VMSHOST and into the
       directory [MYDIR]:

       $ SCP FILE.TXT KATHY@VMSHOST:DSK0:[MYDIR]

    o  The following example shows how to copy the file FILE.TXT from
       a remote system (VMSHOST) to the local system, renaming it to
       LOCAL_FILE.TXT:

       $ SCP KATHY@VMSHOST:DSK0:[MYDIR]FILE.TXT LOCAL_FILE.TXT
Close Help