You can import an FTP user in the NAS Manager.
- Navigate to Home > File Services > FTP Users.
-
Click
Import FTP Users to display the
Import FTP Users page.
The following table describes the fields on this page:
Field/Item Description Filename The name of the file to import. Use the Choose File button to select the file. Import Click to import the file. -
In the
Filename field, enter the file name that contains the user details, or click
Browse to search for the file name.
The user details in the import file have the following syntax:
user_name file_system initial_directory
Each entry must be separated by at least one space. If either the user_name or initial_directory contains spaces, the entry must be within double-quotes. For example:carla Sales /Sales/Documents miles Sales "/Sales/Sales Presentations" john Marketing /Marketing
If you cannot be certain that the initial directory exists, you can create it automatically by specifying the option ENSURE_PATH_EXISTS on a separate line in the file. For example:ENSURE_PATH_EXISTS true carla Sales /Sales/Documents miles Sales "/Sales/Sales Presentations" ENSURE_PATH_EXISTS false john Marketing /Marketing
In the first instance of the ENSURE_PATH_EXISTS option, the true attribute turns on the option, and it applies to the two following entries until the option is turned off by the second instance of the option, with the attribute false. The default for the ENSURE_PATH_EXISTS option is true so that the initial directory is automatically created.
To insert a comment in the file, precede it with a hash character (#).
Note: Automatically created directories will be owned by the root user and group (UID:0 / GID:0) and will be accessible to all users (that is, the permissions are set to rwxrwxrwx). We recommend that such directories are created via CIFS or NFS, or that such directories are given the desired permissions explicitly after being created via this option. - Click Import.