Home
> Commands A-M
> Commands I
IISFTP
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Creates, deletes, and lists FTP sites on local and remote
servers running Windows Server 2003 with Internet Information
Services (IIS) 6.0. Also sets and gets user isolation properties,
starts, stops, and pauses FTP sites.
Syntax
IISFTP[.VBS]
[/create
| /delete
| /getadprop
| /pause
| /query
| /setadprop
| /start
| /stop]
/?
IISFTP[.VBS]
/create
path
site_name
[/b port
[/dontstart
[/i ip_address
[/isolation ActiveDirectory
[/domain domain_name
/admin [Domain\]User
/adminpwd pass_word]]
[/s computer
[/u [Domain\]User
[/p password]]]
IISFTP[.VBS]
/create
path
site_name
[/b port
[/dontstart
[/i ip_address
[/isolation Local]
[/s computer
[/u [Domain\]User
[/p password]]]
IISFTP[.VBS]
{/delete
| /pause
| /start
| /stop}
ftp_site [ftp_site ...]
[/s computer
[/u [Domain\]User
[/p password]]]
IISFTP[.VBS]
/getadprop
user_id
[/s computer
[/u [Domain\]User
[/p password]]]
IISFTP[.VBS]
/query
[ftp_site [ftp_site ...]]
[/s computer
[/u [Domain\]User
[/p password]]]
IISFTP[.VBS]
/setadprop
user_id
{FTPDir | FTPRoot}
property_id
[/s computer
[/u [Domain\]User
[/p password]]]
Parameters
- FTPDir | FTPRoot
(NT2003)
- Specifies isolation at either directory or root
level (required to set user isolation).
- ftp_site [ftp_site ...]
(NT2003)
- Specifies the site name or metabase path of the
FTP site.
- /query will display
all sites, if omitted.
- FTP sites must be uniquely identified. If more
than one FTP site has the same descriptive name, you
must use the metabase path to identify the FTP site.
- path
(NT2003)
- Specifies the location of content files for the
FTP site. Enter a path to a local directory. Any
directories in the path do not exist, are created.
- The Path parameter must immediately precede the
site_name parameter. Otherwise, site
information will not be interpreted correctly.
- property_id
(NT2003)
- Specifies the value of the directory or root
isolation (required to set user isolation).
- site_name
(NT2003)
- Specifies a name for the FTP site.
- user_id
(NT2003)
- Specifies the logon ID of the Active Directory
user.
Switches
- /?
(NT2003)
- Display help.
- /admin [Domain\]User
(NT2003)
- Specifies the name of the administrator in the
User, Domain\User, or User@Domain format.
- /adminpwd pass_word
(NT2003)
- Specifies the administrator's password.
- /b port
(NT2003)
- Specifies a TCP port number for the FTP site.
The default is 21.
- /create
(NT2003)
- Creates FTP sites on local and remote servers.
- When you create a new FTP site, you specify only
the basic properties needed to create the site and
identify its contents. IISFTP uses the same default
properties that IIS uses when establishing new FTP
sites, and adheres to the same rules for inheriting
properties. To configure the more advanced properties
of the site, use IIS Manager.
- /delete
(NT2003)
- Deletes FTP sites on local and remote servers.
- /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 FTP sites on local and remote
servers.
- /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
Last Updated: 2003/07/28
Direct corrections or suggestions to:
Rick Lively