TCPIP$FTP_HELP.HLB  —  SET  DEFAULT
    Sets your default directory on either the remote host or the
    local host. To set the default directory on a remote host, you
    must have an FTP session with a remote host.

    DCL Format

      SET DEFAULT  [ /LOCAL ] directory

    UNIX Formats

      cd  directory

      lcd  directory

1  –  Parameters

 directory

    Required.

    Name of the directory to which to change the default.

2  –  Qualifiers

2.1    /LOCAL

    Optional. Default: remote.

    Changes the working directory on the local host.

3  –  Examples

    1.FTP> SET DEFAULT "/USR/USERS/ROLLINGS"
      250 CWD command successful.

      Changes the remote working directory to /usr/users/rollings.

    2.FTP> SET DEFAULT ~
      250 CWD command successful.
      250 New default directory is /USR/USERS

      Changes the remote working directory back to the default login
      directory.

    3.FTP> SET DEFAULT /LOCAL USER$1:[PRESS.CHECK]
      Local Directory now USER$1:[PRESS.CHECK]

      Changes your local working directory to USER$1:[PRESS.CHECK].
Close Help