In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces the "use Iisftp.vbs to delete FTP site method tutorial", in the daily operation, I believe that many people in the use of Iisftp.vbs to delete FTP site method tutorial questions, Xiaobian consulted all kinds of materials, sorted out a simple and easy-to-use method of operation, hope to answer the "use Iisftp.vbs to delete FTP site method tutorial" of the doubt is helpful! Next, please follow the editor to study!
Apply to: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1
You can use the command line script iisftp.vbs (stored in systemroot\ System32\) to delete the IIS File transfer Protocol (FTP) site configuration on a local or remote computer running Windows Server 2003 family members with IIS 6.0.
This command is useful if you plan to move the site to a new URL or server, or if you want to delete the site completely. Site content is not affected by this command, but users will not be able to access the 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 / delete 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 removes a single FTP site configuration on the local computer. The content of the "Downloads" FTP site remains the same, but users cannot access it. Because the local computer is the default, the / s parameter is ignored. 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 / delete Downloads
In response, iisftp displays the following message indicating that the site configuration has been deleted and that the FTP site is identified by 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/2109607139 has been DELETED.
Example 2
The following example removes multiple FTP site configurations from a remote computer. The "Downloads", "Drivers", and "Library" FTP sites are located on SVR01. This command identifies the first two sites by name, and identifies the "Logo" FTP site by its configuration database path "MSFTPSVC/1932955329". 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 / delete Downloads Drivers MSFTPSVC/2109607139 / s Svr01 / u Tom / p p@##word
In response, iisftp displays the following message indicating that the site configuration has been deleted and that each FTP site is identified by its configuration database path.
Connecting to server... Done.
Server MSFTPSVC/2109607139 has been DELETED.
Server MSFTPSVC/1879143292 has been DELETED.
Server MSFTPSVC/1932955329 has been DELETED.
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 of "how to use Iisftp.vbs to delete FTP sites" 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.