I've configured a server (Ubuntu) with OpenSSH for file transfer via sFTP. The requirement is that after a file transfer, a mail is sent confirming the file was received by the system. How would I do this without having to poll the directory every x time for new/changed files?
|
feedback
|
|
Refer Checking script results and Send a mail and Automate file transfers (or synchronization) to FTP server or SFTP server Example: sending a email using command prompt
Refer one more answer related to sending an email, Sending mail from the command line, in an automated way | |||
feedback
|