First time poster, I am looking to script the upload of files via SFTP.
I can see some samples for this.
However, I also want to confirm that the file that has uploaded is a) verified to be uploaded and/or is comparable to the source file.
Ideally an error would generate a follow on action (call an email script etc)
Reason being that from the source side we would upload and archive off the file - but not necessarily be sure the upload has happened due to connectivity issue etc.
Can anyone help me with this?