z/OS Communications Server: IP User's Guide and Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Working with directories on the local host

z/OS Communications Server: IP User's Guide and Commands
SC27-3662-00

To work with directories on the local host, use the subcommands listed in Table 1.

Table 1. FTP subcommands for working with directories on the local host
Subcommand Description See
LCd Changes the current directory on the local host. LCd subcommand—Change the local working directory
LMkdir Creates a directory on the local host. LMkdir subcommand—Create a directory on the local host
LPwd Displays the name of the active working directory on the local host. LPwd subcommand—Display the current working-level qualifier

Your default working directory on the local host is set according to the environment in which the FTP client is invoked: $HOME in z/OS UNIX, your MVS™ user ID in TSO.

The following examples show how to choose local working directories.
  User:  ftp 1.1.2.3
System:
            IBM FTP CS V1R5
            FTP: using TCPCS
            Connecting to 1.1.2.3, port 21
            220-FTPD1 IBM FTP CS V1R2 at MVS164, 20:12:38 on 2003-01-02.
            220 Connection will close if idle for more than 5 minutes.
            NAME (<host>:tsouserid):
  User:  mvsuser
System:
            >>>USER mvsuser
            331 Send password please.
            Password:
 
            >>>PASS ********
            230 MVSUSER is logged on.  Working directory is "/u/mvsuser".
 
            Command:
  User:  lpwd
System:
            Local directory is MVSUSER.
 
            Command:
  User:  lcd tcpip
System:
            Local directory name set to MVSUSER.TCPIP.
 
            Command:
  User:  lpwd
System:
            Local directory is MVSUSER.TCPIP.
 
            Command:
  User:  lcd 'ftp.test'
System:
            Local directory name set to FTP.TEST.
 
            Command:
  User:  lpwd
System:
            Local directory is FTP.TEST.
 
            Command:
  User:  lcd ..
System:
            Local directory name set to FTP.
 
            Command:
  User:  lpwd
System:
            Local directory is FTP.
            Command:

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).