Since you don't specify your OS, I am going to assume a standard OS (*nix), so you could proceed like this:
Create a Bash script (say myuploads.sh
), and in it, you'll automate the uploading of the files of interest to the remote machine.
Something like this:
#!/bin/bash
HOST='1.2.5.7'
USER='us3r'
PASSWD='p4ssword'
FILE_TO_UPLOAD='/path/to/some_file.some'
WHERE_TO_UPLOAD='/remote/path'
ftp -i -n $HOST <<Arul
user ${USER} ${PASSWD}
binary
cd $(WHERE_TO_UPLOAD)
put $(WHERE_TO_UPLOAD)
quit
You can then use a standard cron (job scheduler) to schedule when to periodically upload that file, using say a cron entry like this:
@daily /path/to/script/myuploads.sh >/dev/null
That runs the script once every day at midnight.