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

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -