STARTDIRECTORY (FTP server) statement
Use the STARTDIRECTORY statement to specify which file system is initially used when a new user logs in.
Syntax
Parameters
- HFS
- Use the z/OS® UNIX hierarchical file system. The initial directory is the user's root directory in the z/OS UNIX file.
- MVS™
- Use MVS partitioned data sets. The initial data set name has a prefix of the user ID. See initial working directory consideration in z/OS Communications Server: IP User's Guide and Commands for more information.
Examples
Set the initial user directory
to the user's root directory in the z/OS UNIX:
STARTDIRECTORY HFS
Usage notes
The value of STARTDIRECTORY must be compatible with the ANONYMOUSFILEACCESS value when anonymous logins are enabled and ANONYMOUSLEVEL is 3 or greater.
For example, if ANONYMOUSLEVEL is 3, ANONYMOUSFILEACCESS is MVS, and STARTDIRECTORY is z/OS UNIX, anonymous users receive a filetype error when they attempt to log in to FTP. The anonymous login is rejected by the FTP server.