Home > Commands A-M > Commands I

IISFTPDR


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Creates, deletes, and displays virtual directories on FTP sites of servers running Windows Server 2003 with Internet Information Services (IIS) 6.0.


Syntax

IISFTPDR[.VBS] [/create | /delete | /query] /?

IISFTPDR[.VBS] /create ftp_site[/virtual_path] name physical_path [/s computer [/u [Domain\]User [/p password]]]

IISFTPDR[.VBS] /delete ftp_site[/virtual_path]/name [/s computer [/u [Domain\]User [/p password]]]

IISFTPDR[.VBS] /query ftp_site[/virtual_path] [/s computer [/u [Domain\]User [/p password]]]


Parameters
ftp_site (NT2003)
Specifies the descriptive name or metabase path of the FTP site.
name (NT2003)
Specifies a name for the virtual directory.
physical_path (NT2003)
Specifies the physical directory that stores content for the virtual directory.
You must specify a path on the local computer. If the specified path does not exist, it is created.
/virtual_path (NT2003)
Specifies a path to the virtual directory within the FTP site. The virtual path does not include the name of the virtual directory.
Places the virtual directory in a subdirectory of the FTP site. By default, the virtual directory is added to the root of the FTP site. All directories in the virtual path must already exist on the FTP site.
/query lists the FTP site root virtual directories, if omitted.

Switches
/? (NT2003)
Display help.
/create (NT2003)
Creates virtual directories on FTP sites of servers running Windows Server 2003 with Internet Information Services (IIS) 6.0.
/delete (NT2003)
Deletes virtual directories from FTP sites of servers running Windows Server 2003 with Internet Information Services (IIS) 6.0.
/domain (NT2003)
Specifies the name of the Active Directory domain.
/dontstart (NT2003)
Indicates that the FTP site does not start automatically as soon as it is created. By default, IIS starts the FTP site when the /create command completes successfully.
/getadprop (NT2003)
Gets Active Directory properties for a specific user on a local or remote computer.
/i ip_address (NT2003)
Specifies an IP address for the FTP site. The default is All Unassigned, which assigns to the site all of the IP addresses on the computer that are not assigned to other sites. Only one site on each IIS server can be set to: All Unassigned.
/isolation {ActiveDirectory | Local} (NT2003)
Provides for one of two user isolation modes, ActiveDirectory and Local. If omitted, the site will not use user isolation.
/query (NT2003)
Displays the virtual directories of FTP sites on servers running Windows Server 2003 with Internet Information Services (IIS) 6.0.
/p password (NT2003)
Specifies the password of the user account that is specified in /u. If omitted, you will be prompted.
/pause (NT2003)
Pauses FTP sites on local and remote servers.
/s computer (NT2003)
Runs the script on the specified remote computer. Type the computer name or IP address without backslashes. Defaults to the local computer.
/setadprop (NT2003)
Sets Active Directory properties for a specific user on a local or remote computer.
/start (NT2003)
Starts FTP sites on local and remote servers.
/stop (NT2003)
Stops FTP sites on local and remote servers.
/u [Domain\]User (NT2003)
Runs the script with the permissions of the specified user account. This account must be a member of the Administrators group on the remote computer. By default, the script runs with the permissions of the current user of the local computer.

Related

none.


Notes

To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using "Run as" to perform this procedure.

Does not verify the port number or IP address of an FTP site, and it does not verify that these bindings are unique within the server. If you create a site with invalid or conflicting bindings, the site will not start.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NT2003