Ftp, archive and email in shell script

Closed
Lenora2009 Posts 1 Registration date Thursday July 9, 2009 Status Member Last seen July 10, 2009 - Jul 10, 2009 at 05:47 PM
Tom6 Posts 142 Registration date Friday July 31, 2009 Status Member Last seen August 7, 2009 - Aug 3, 2009 at 04:53 PM
Hello,
I found the forum’s information very helpful and informative. I am relatively new to UNIX programming. I am researching how to write a UNIX shell script to ftp all files from specific host folder to a client server. Also need to archive all transferred files, send a message (email) if any file was not transferred successfully and save (email) a log after the shell script execution. Delete all files from the host folder (that were transferred and archived successfully).
Could you please help me? Where can find additional information or script’s examples?
Thank you in advance
Related:

1 response

Tom6 Posts 142 Registration date Friday July 31, 2009 Status Member Last seen August 7, 2009 16
Aug 3, 2009 at 04:53 PM
Hi :)

I had a quick hunt around and found this
https://tldp.org/LDP/abs/html/

but really it might be better to use this site
https://distrowatch.com/
to find your specific version of linux and their page should help you navigate to their user-forum

Also this is a good site for general linux enquiries
http://www.linuxquestions.org
as it is a lot more focussed on linux generally

Good luck and regards from
Tom :)
0