For Windows, use the following and schedule them as desired:
FTP Code File
To transfer the file from C:\Users\Admin\Desktop\Test\myfile.zip to the /backupfolder in a remote FTP server we create a file , viz., myremote.ftp in the same folder where our file to be transferred resides having the following text contents:
open <IP of FTP Server>
<FTP Username>
<FTP Password>
lcd /D "C:\Users\Admin\Desktop\Test\"
cd /backupfolder
binary
mput <file to be backed up - wildcards accepted>
disconnect
quit
Windows Batch File
Create a file zipftp.bat to zip up the set of files to be backed up (to a remote FTP server with the above credentials) having the following text contents:
SET MYFILE="myfile.zip"
IF EXIST %MYFILE% DEL /F %MYFILE%
"C:\Program Files\7-Zip\7z.exe" a -tzip %MYFILE% myFAfolder
sleep 1
# A remote file is automatically overwritten when a local file that
# is PUT or MPUT has the same name as the remote file.
ftp -i -s:myremote.ftp