In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces how to modify the FTP account and password through batch processing, the article is very detailed, has a certain reference value, interested friends must read it!
Method 1. Batch process to modify FTP account and password
@ echo offrem specify FTP username set ftpUser=FTPUSERNAMErem specify FTP original password set ftpPassOld=FTPPASSWORDOLDrem specify FTP new password set ftpPassNew=FTPPASSWORDNEWrem specify FTP server address set ftpIP=192.168.0.2set FtpFile=%temp%/TempFTP.txt > "% FtpFile%" echo,%ftpUser% > > "% FtpFile%" echo,%ftpPassOld% > "% FtpFile%" echo quote site pswd% ftpPassOld%% ftpPassNew% > > "% FtpFile%" echo byestart ftp-I-s: "% FtpFile%"% ftpIP%
The method of modifying ftp username and password
How to use: copy the following code into notepad, save as a file called "change ftp password .bat" (note that the suffix here is not .txt, but .bat), then double-click to open this file, and then jump out of the black background window to enter the user name, old password, new password in turn according to the prompts, you can change your ftp password.
@ echo offecho * * echo * * echo * FTP server user password change program * echo * * echo * * * set / p UserName= Please enter the user name (case or case): set / p OldPwd= Please enter the old password: set / p NewPwd= Please enter the new password: set FtpFile=%temp%\ TempAcc.txtset FtpLog=%temp%\ TempFTP.log > "% FtpFile%" echo open 192.168.1.3 21 > > "% FtpFile%" echo% UserName% > > "% FtpFile%" echo% OldPwd% > > "% FtpFile%" echo quote site pswd% OldPwd%% NewPwd% > > "% FtpFile%" Echo quitftp-is: "% FtpFile%" > "% FtpLog%del"% FtpFile% "findstr / C:" 230Password changed okay "% FtpLog% > nul & & goto true_line | | goto fail_linepauseexit:true_lineecho * * echo * * echo * Congratulations Password changed successfully! * echo * press any key to close this window. * echo * * echo * pauseexit:fail_lineecho * * echo * * echo * Sorry, password change failed! * echo * Please check that the original username and password are correct. * echo * press any key to close this window. * echo * * echo * * pause exit is all the contents of the article "how to change your FTP account and password through batch processing". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.