Is it possible to use CRON to upload a file via FTP? If yes how can I call FTP to run an upload?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming a UNIX-like operating system you could setup a cron job that pointed to a shell script like the following:
Depending on your ftp client defaults and the source file type you may need to specify
binaryprior to theput.