Introduction of FTP synchronization tool
IIS7 service management tool is a powerful FTP software with excellent controllability and organization. It supports FTP = = regular upload and download = =, = = regular backup = =, = = automatic update = =, batch upload and download, FTP multi site management, online editing and other functions. At the same time, it also supports batch management of multiple servers (Windows / Linux), and it can also be used as VNC client to batch manage VNC server. It is very suitable for computer room management, stationmaster, operation and maintenance staff and programmers.
1. FTP synchronization tool tutorial
**Download address:IIS7 server management tool
- Add FTP server information
- Step 1: click the “upload and download” button in the main program diagram;
- Step 2: click “FTP”;
- Step 3: click “add”;
- Step 4: fill in the FTP information in the pop-up server information box. Note: FIP IP port, account number and password are required;
- Step 5: select the FTP server to be opened;
- Step 6: click open to see the FTP rendering immediately.
- Step 1: select multiple files to upload (press Ctrl to select multiple files), and right-click upload.
- Step 2: wait for the file upload to complete.
- Step 3: after the upload is completed, the right window can view the file or folder after the upload is successful.
2. Windows backup files to FTP server regularly
- Bat script editing.
@echo off : total directory set Source= :: the local directory to be backed up must end in \ set sourcePath=%Source%\data\ :: local storage path of backup compressed package set rarPath=%Source%\BackupRAR\ : log storage local path set logDir=%Source%\log\ : FTP command file set FTPFile=%Source%\ftp.txt : backup the remote storage path of the compressed package file (it can be a network path, provided you have permission to manage the folder under the path) set bakDataTargetPath= :: the remote storage path of the backup log file set bakLogTargetPath= :: intercept date function set dateStr=%date:~0,4%%date:~5,2%%date:~8,2% :: time stamp set timeStr=%time:~0,2%%time:~3,2%%time:~6,2%%time:~9,2% :: log file name set logFile=%logDir%log : = = = = = = = = = = set the FTP server IP and account password for login============= set FTP_IP= set username= set password= ::============================================================== : create corresponding file if not exist %rarPath% mkdir %rarPath% if not exist %sourcePath% mkdir %sourcePath% if not exist %logDir% mkdir %logDir% if not exist %FTPFile% (type nul > %FTPFile%) if not exist %logFile% (type nul > %logFile%) : compress the file to the specified directory rar a -m5 -ep1 -r %rarPath%%dateStr%.rar %sourcePath% echo %date:~0,10% %time% The File [%sourcePath%] RAR to [%dateStr%.rar] Successful >>%logFile% : transfer files using FTP echo open %FTP_IP%>>%FTPFile% echo %username%>>%FTPFile% echo %password%>>%FTPFile% : enter the specified folder of the target backup server echo cd %bakDataTargetPath%>>%FTPFile% echo send %rarPath%%dateStr%.rar>>%FTPFile% echo cd ..>>%FTPFile% echo cd log>>%FTPFile% echo send %logFile%>>%FTPFile% echo bye>>%FTPFile% echo %date:~0,10% %time% The File [%dateStr%.rar] successfully transferred to the server>>%logFile% ftp -s:%FTPFile% : clear text content @echo.>%FTPFile%
- Set the timing task.
1. Enter the control panel and select management tools.
2. Double click task scheduler.
3. Click create task.
4. Type the name of the task and check run with the highest permission. Finally, click OK.
5. Switch to trigger option and click new trigger button.
6. Modify the parameters as required, and finally click the confirm button.
7. Switch to the operation tab and click the new button.
8. Click Browse to select the script location and then click confirm.
9. You can see the task details in the operation panel, and finally click the confirm button.