Tag:FTP server

  • Backup files and upload bat code to FTP server

    Time:2019-9-29

    Timely backup of files and FTP upload to backup server Copy codeThe code is as follows: @echo offcolor 0fTitle backs up files regularly and FTP uploads them to the backup server Folders to be backed up by Remecho:Set/p bak_webFile= Drag the uploaded file (folder) here= REM current date (format YYYYMMDD)set bak_date=%date:~0,4%%date:~5,2%%date:~8,2% REM FTP informationset bak_ftpServer=202.96.189.52set […]

  • Using Winrar and FTP commands to automatically backup files and upload them to the designated FTP server

    Time:2019-9-28

    1. Using Winrar to Build Compression Packet First, the backup file path is collected into a text file, such as my rat.txt, which reads as follows: “C:\Documents and Settings\EvanZhang\Desktop\untitled.JPG”“C: Documents and Settings EvanZhang Desktop Stationery Access Confirmation Form. xls”“C:\Documents and Settings\EvanZhang\Desktop\test.exe” Create a backup.bat file, which reads as follows “C:\Program Files\WinRAR\WinRAR.exe” a -m5 -k -t […]

  • BAT script sharing for automatic uploading files to FTP server

    Time:2019-7-27

    Copy codeThe code is as follows: @Echo Off Echo open ip_address [port] >ftp.up Echo [username]>>ftp.up Echo [password]>>ftp.up Echo Cd .\ >>ftp.up Echo binary>>ftp.up Echo put “C:\ExAdminAuditLog.txt”>>ftp.up Echo bye>>ftp.up FTP -s:ftp.up del ftp.up /q Paste the code first, [port] does not fill in the default port number, pay attention to the above username and password after […]

  • Talking about Locking Your Linux Server

    Time:2019-4-2

      Whatever Linux distribution you use, you need to use an iptables-based firewall to protect it. Ah You’ve set up your first Linux server and are ready to start! Really? Well, slow down. By default, your Linux system is not secure enough for an attacker. Of course, it’s much safer than Windows XP, but that […]