ANONYMOUSHFSFILEMODE (FTP server) statement

Use the ANONYMOUSHFSFILEMODE statement to specify the mode bits used when storing files created by anonymous users.

Restriction: This statement is recognized only when ANONYMOUSLEVEL 3 or greater is specified. This statement has no meaning if ANONYMOUSLEVEL 3 is not specified.

Syntax

Read syntax diagramSkip visual syntax diagram
   .-ANONYMOUSHFSFILEMODE 000---.   
>>-+----------------------------+------------------------------><
   '-ANONYMOUSHFSFILEMODE --nnn-'   

Parameters

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

Examples

To prevent anyone from accessing files written by anonymous users, use the following example.
ANONYMOUSHFSFILEMODE 000 

Usage notes

Related topics