How to administer an FTP site for IIS using the command line

Source: Internet
Author: User
Tags command line ftp ftp site iis

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.