In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "how to start a FTP site using Iisftp.vbs". In daily operation, I believe that many people have doubts about how to start a FTP site using Iisftp.vbs. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the questions of "how to use Iisftp.vbs to start a FTP site". Next, please follow the editor to study!
Apply to: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1
IIS automatically starts a File transfer Protocol (FTP) site when it is created, unless the administrator explicitly disables it with the / dontstart parameter. The administrator may disable automatic startup, for example, by setting aside time for the site to be added to the DNS.
The administrator may also pause or stop the FTP site for troubleshooting purposes. In similar cases, you can use the command line script iisftp.vb (stored in systemroot\ System32) to start or restart the FTP site.
Important matters
Only members of the Administrators group on the local computer can run scripts and executables. As a security best practice, log on to the computer using an account that is not part of the Administrators group, and then use the runas command to run scripts and executables as an administrator. At the command prompt, type runas / profile / User:MyComputer\ Administrator cmd, open a command window with administrator privileges, and then type cscript.exeScriptName (including the full path to the script and any parameters).
This topic includes the following information:
Syntax: the order in which you must type a command and any parameters and options that follow it.
Parameter: the value assigned to the variable in the command.
Example: sample code and a description of the result.
Grammar
Iisftp/start FTPSite [FTPSite...] [/ s Computer [/ u [Domain\] User / p Password]]
Parameters.
FTPSite
Necessary. Specify the site name or configuration database path for the FTP site. The FTP site must be uniquely identified. If there are multiple FTP sites with the same descriptive name, you must use the configuration database path to identify the FTP site.
/ s Computer
Runs the script on the specified remote computer. Type the computer name or IP address without a backslash. By default, the script runs on the local computer.
/ u [Domain\] User
Runs the script with the privileges of the specified user account. The 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 on the local computer.
/ p Password
Specifies the password for the user account specified in the / u parameter.
Example
Example 1:
The following example starts the "Products" FTP point on the local computer. This command identifies the site by its name. In this case, the / s parameter is ignored because the server is the local computer. Because the current user of the local computer must be logged in as an administrator to run the command, the / u and / p parameters are ignored.
The copy code is as follows:
Iisftp / start Products
In response, iisftp displays the following message confirming that the site has been started and identifying the site with its configuration database path. Configure the entry of the database path in IIS that is equivalent to that in the system registry.
Connecting to server... Done.
Server MSFTPSVC/1452008085 has been STARTED.
Example 2:
The following example starts the "Products" and "Marketing" FTP sites on the remote computer SVR01. This command identifies the "Products" site by its configuration database path "MSFTPSVC/1452008085" and the "Marketing" site by its name. In addition, the command uses the / s parameter to specify the remote computer and the / u and / p parameters to run the command with the user's administrator account privileges.
The copy code is as follows:
Iisftp / start MSFTPSVC/1452008085 Marketing / s SVR01 / u Jim / p p@##word
In response, iisftp displays the following message confirming that these sites have been started and identifying it with the configuration database path for each site:
Connecting to server... Done.
Server MSFTPSVC/1452008085 has been STARTED.
Server MSFTPSVC/1879143292 has been STARTED.
The advantage of using scripts is that you can perform operations in batches. The combination of bat and planning is even more perfect.
At this point, the study on "how to start a FTP site with Iisftp.vbs" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.