ANONYMOUSHFSDIRMODE (FTP server) statement

Use the ANONYMOUSHFSDIRMODE statement to specify the mode bits used for directories created by anonymous users.

Restriction: This statement is recognized only when ANONYMOUSLEVEL 3 or greater is specified.

Syntax

Read syntax diagramSkip visual syntax diagram
   .-ANONYMOUSHFSDIRMODE 333---.   
>>-+---------------------------+-------------------------------><
   '-ANONYMOUSHFSDIRMODE --nnn-'   

Parameters

nnn
The three octal digits that describe the mode bits. It is passed directly to chmod() function to set the mode bits for directories created by anonymous users.

Examples

To prevent anyone from listing new directories created by anonymous users, use the following example.
ANONYMOUSHFSDIRMODE 333 

Usage notes

Related topics