scripting - cron jobs to upload a file via FTP -
Is it possible to use CRONA to upload file via FTP? If yes, how can I call ftp for upload?
A Unix-like operating system you can set up a cron job which is like a shell Point to script:
#! / Bin / sh cd [source directory] ftp -n [destination host] & lt; & Lt; END user [user] put [password] [source file] end
, depending on your FTP client default and source file type you specify binary
You may need to put
.
Comments
Post a Comment