To achieve fast sharing of network resources over the Internet, many users use the FTP components built into the IIS server to set up an FTP server. Thanks to its close integration with Windows systems and its ease of operation in the IIS console, it has been favored by everyone. If you are using IIS6.0, you can also use a script command to manage the FTP site, a single line of commands, to implement a series of operations in the IIS console. So good stuff, of course, we share together.
FTP Site Administration--iisftp.vbs
The iisftp.vbs command can be used to create, delete, query, and control FTP sites, which are based on command line, so they are particularly popular with network management users.
IIsFtp command format:
IISFTP [/s [/u [/P]]]/[arguments]
/s connected FTP server name
Account name used by/U connection
/P account password
Options:
/start Start a site
/stop Stop a site
/pause Pause a site service
/delete Delete a site
/create Create an FTP site
/query Query FTP site
1. Create an FTP site
The following author creates an FTP site named "Cpcwftp" in the local IIS server named "Suning-3avmjsp1". Run the command prompt program in the Windows Server 2003 system. Then, after running the iisftp/s suning-3avmjsp1/u administrator/p rrttjj/create d:cpcwroot "I cpcwftp 21" command in the prompt window, complete the Creation of the "Cpcwftp" site.
This is the complete command format, because this is where you create the FTP site and only run the "Iisftp/create d:cpcwroot" cpcwftp "/I 192.168.1.2/b 21" command (Figure 1).
where "SUNING-3AVMJSP1" is the server on which the FTP site resides, "Administrator" and "RRTTJJ" are the users and passwords used to create the FTP site, "D:cpcwroot" is the home directory for the FTP site, "192.168.1.2 "21" is the IP address bundled with the "Cpcwftp" site, which is the communication port for the FTP site. If the network administrator creates an FTP site in the local IIS server, you can omit the "/s suning-3avmjsp1/u administrator/p rrttjj" parameter; If you are creating an FTP site remotely, you must enter the full command.