Managing FTP Sites and Virtual Directories

Managing FTP sites and their virtual directories is almost identical to managing websites and their virtual directories as discussed in the preceding section. The main difference is that you use different scripts:

  • The iisftp.vbs script creates, deletes, starts, stops, and pauses FTP sites.

  • The iisftpdr.vbs script creates, deletes, and queries FTP virtual directories.

The syntax is so similar that I won’t go into it here. The only real difference is that the iisftp.vbs script can also be used for configuring your FTP site to run in user isolation mode either as Local or Active Directory user isolation. For example, to create a new FTP site called “Company FTP Site” with root directory C:\employees and IP address 172.16.11.215, and that is configured to run using Local isolation mode, do this:

C:\>iisftp /create C:\employees "Company FTP Site" /i 172.16.11.216 /isolation Local Connecting to server ...Done. Server        = SSRV215 Site Name     = Company FTP Site Metabase Path = MSFTPSVC/1465812683 IP            = 172.16.11.216 Port          = 21 Root          = C:\employees IsoMode       = Local Status        = STARTED

To create an FTP site configured to run in Active Directory isolation mode, simply replace “Local” with “Active Directory” in the preceding command.




IIS 6 Administration
IIS 6 Administration
ISBN: 0072194855
EAN: 2147483647
Year: 2003
Pages: 131
Authors: Mitch Tulloch

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net