Setting FTP Messages and Directory Output Style (IIS 6.0)
By default, the IIS FTP service sends a banner message that identifies the FTP service, and the fact that FTP runs in IIS, to the client. The message can be a greeting that welcomes users to the FTP site when they log on, an exit message (see note) that users see when they log off, a message that informs users when the maximum number of connections has been reached, or a banner message. Also, you can send the client informational messages about your FTP sites. The message can be a greeting, an exit message, or information about connection status. These messages are blank by default.
You must be a member of the Administrators group on the local computer to run scripts and executables. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run your script or executable as an administrator. At a command prompt, type runas /profile /User:MyComputer\Administrator cmd to open a command window with administrator rights and then type cscript.exeScriptName (include the script's full path and any parameters).
To suppress the default FTP banner for all FTP sites on a computer
For more information about suppressing the default FTP banner, see SuppressDefaultFTPBanner Metabase Property in the Metabase Property Reference.
You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /User:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".
To globally set messages on all FTP sites
To set messages on a specific FTP site
Setting the Directory Output Style
You can set the directory output style of all FTP sites, or an individual FTP site to be in either MS-DOSŪ or UNIX format. The directory output style defines the format that is used when an FTP client sends a /list command. The default directory output style is MS-DOS format.
Although the exit message box can contain up to 30,000 characters, the FTP exit message size is limited to 1024 characters, including the reply code, blank, carriage return, and null. To prevent the exit message from being truncated, limit the length of the exit message to 1017 characters.
The UNIX directory listing style displays the year in a four-digit format when the year in the date of the file is different from the year in the date of the FTP server. No year is returned in cases where the year in the date of the file is the same as the year in the date of the FTP server.
To set the global FTP directory output style
To set the FTP directory output style for an individual FTP site
The MS-DOS directory listing style displays the year in a two-digit format by default. You can change this setting to display the year in a four-digit format. For information on changing the MS-DOS directory format to display the year in a four-digit format, see the FtpDirBrowseShowLongDate Metabase Property.