In order to achieve fast sharing of network resources in the Internet, many users use the built-in FTP component of the IIS server to set up an FTP server. Because of its close integration with the Windows system, and easy to use in the IIS console, it is very popular. If you are using IIS6.0, you can also use the script command to manage and maintain the FTP site. With a simple command, you can implement a series of operations in the IIS console. Of course, such a good Dongdong share with everyone.
FTP Site Management IISftp.vbs
The IISftp.vbs command can be used to create, delete, query, and control FTP sites. Because this command is simple to use, it is based on the command line, so it is especially affected. The favorite of network management users.
IISftp Command Format:
IIsFtp [/s [/u [/p ]]]/[arguments]
/s Connected FTP Server Name
/u Connection account name
/p Account password
Option:
/start Start a site
/stop Stop a site< Br>
/pause Pause a site service
/delete Delete a site
/create Create an FTP site
/query Query FTP site
1. Create an FTP Site
The author creates an FTP site called cpcwftp in a local IIS server named suning-3avmjsp1. Run a command prompt on a Windows server 2003 system. Then run the IIsFtp /s suning-3avmjsp1 /u administrator /p rrttjj /create d:cpcwroot cpcwftp /i 192.168.1.2 /b 21 command in the prompt window to complete the creation of the cpcwftp site.
The above is the complete command format, because here is to create an FTP site locally, just run the IIsFtp /create d:cpcwroot cpcwftp /i 192.168.1.2 /b 21 command (Figure 1).
where suning-3avmjsp1 is the server where the FTP site is located, administrator and rrttjj are the users and passwords used to create the FTP site, d:cpcwroot is the home directory of the FTP site, and 192.168.1.2 is bundled with the cpcwftp site. IP address, 21 is the communication port of 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.
2. Manage FTP Service
Completed the creation of the cpcwftp site. Now the network administrator can query the site for existence. Run the IIsFtp /query cpcwftp command at the command prompt.
Controlling the status of the cpcwftp site is also very simple. You can start the FTP service of the cpcwftp site by running the IIsFtp /start cpcwftp command at the command prompt. To stop the site's FTP service, run the IIsFtp /stop cpcwftp command to suspend the FTP service by simply running the IIsFtp /pause cpcwftp command.
If you want to delete the cpcwftp site on the local server, run the IIsFtp /delete cpcwftp command at the command prompt.
The above operation is based on the FTP site in the local IIS server. If the FTP site you are operating on is on a remote server, you must use the full command format, that is, you must specify the remote server name and the administrator account used in your operation.
FTP Virtual Directory Management IISftpdr.vbs
To manage and maintain virtual directories in an FTP site, use the IISftpdr.vbs command. It can quickly create, query, and delete virtual directories.
IISftpdr Command Format:
IIsFtpDr [/s [/u [/p ]]]/[arguments]
/s Connected FTP Server Name
/u Connection Account Name
/p Account Password
Option:
/create Create an FTP Site Virtual Directory
/delete Delete An FTP site virtual directory
/query Query virtual directory
1. Create a virtual directory
The author creates a virtual directory for the FTP site named cpcwftp in the local IIS server. Directory CPCWV.
Run the IIsFtpDr /create cpcwftp cpcwv d:cpcwvroot command in the command prompt window to complete the local creation of the virtual directory (Figure 2).
2. Query virtual directory information
After completing the creation, check whether the virtual directory CPCWV exists. Run the IIsFtpDr /query cpcwftp command at the command prompt.
3.Delete a virtual directory
It is also easy to delete a virtual directory. Here I want to delete the virtual directory CPCWV under the FTP site named cpcwftp. Run the IIsFtpDr /delete cpcwftp/cpcwv command at the command prompt.
Although the IISftp.vbs and IISftpdr.vbs commands can be used to easily manage and maintain the FTP site, the script commands provided by IIS6 are not perfect enough, such as directory access permissions and users. Access control, etc., can not be implemented using script commands for the time being. But for regular FTP management and maintenance, using script commands is a good choice.
In a network using the TCP/IP protocol, each computer must have at least one IP a
Log in to VPS using SSH Enter /root/vhost.sh Please enter Please input domain Others See the pict
When deploying the WCF server in the IIS server in Windows Server 2008, the following error is repor
There are many popular servers at present, and some professional-grade FTP servers
TCP/IP filtering open and close methods
Blade seven years of itching must be careful four major misunderstandings
9 common win2003 iis configuration problems and solutions
Detailed PHPMYADMIN Concise Installation Tutorial
Solve the description of "Event ID (487) (in the resource (Zend Optimizer) can not be found" problem
Set up a shared server with 2003 02
The advantages and disadvantages of CDN acceleration and the difference between two-line server
Linux VPS (server) how to bind domain name
Hardening security Configuring SSL
Using DOS commands to remotely manage FTP servers
Iis 7 settings directory permissions need to pay attention to the problem
Survey data shows that Win8 market share has reached 3.69%
Windows can't log out of the solution
The ace of Microsoft's gambling: The upcoming Win9
Win10 beta users how to upgrade the official version
Win8.1 update patch prompts video dxgkrnl fatal error black screen solution diagram
Win8 wireless network is limited Fault resolution
Win8 RP version installation method and tutorials (including dual systems, etc.) (2)
ADSL sharing method in Win 2000
Is your computer suitable for installing Windows 7 system?
Upgrade to win10 system computer network speed slow how to do