Related:
- Bash script for ftp file transfer
- Free fire transfer - Guide
- Windows 10 iso file download 64-bit - Download - Windows
- Kmspico zip file download - Download - Other
- Ssh secure file transfer download - Download - Remote access
- Ftp models - Guide
2 responses
Richard.Williams
Posts
25
Registration date
Saturday November 7, 2009
Status
Member
Last seen
July 18, 2012
14
Jan 29, 2010 at 09:48 AM
Jan 29, 2010 at 09:48 AM
Here is a script that will run on all Windows versions. The script will upload C:\temp\cpDailyLog.txt file to an FTP server daily.
This script is in biterscripting. Save the script in file "C:/Scripts/UploadDailyLog.txt", then schedule the following command to run daily.
# Script UploadDailyLog.txt # Input arguments var str ftpserver, ftplogin, ftppassword echo $ftplogin "\n" $ftppassword > "C:/ftpcommands.txt" echo "put \"C:\temp\cpDailyLog.txt\"" >> "C:/ftpcommands.txt" echo "bye" >> "C:/ftpcommands.txt" system ftp -s:C:/ftpcommands.txt $ftpserver system del "C:/ftpcommands.txt"
This script is in biterscripting. Save the script in file "C:/Scripts/UploadDailyLog.txt", then schedule the following command to run daily.
"C:/biterScripting/biterScripting.exe" "C:/Scripts/UploadDailyLog.txt" ftpserver("ftp.myftpserver.com") ftplogin("mylogin") ftppassword("mypassword")
Mar 9, 2010 at 08:33 AM