cron jobs to upload a file via FTP
automation, cron, ftp, scripting
Solution
Assuming a UNIX-like operating system you could setup a cron job that pointed to a shell script like the following:
#!/bin/sh
cd [source directory]
ftp -n [destination host]<<END
user [user] [password]
put [source file]
quit
END
Depending on your ftp client defaults and the source file type you may need to specify `binary` prior to the `put`.
Problem
Is it possible to use CRON to upload a file via FTP? If yes how can I call FTP to run an upload?