Upload Script - Ability to tell if upload sucessful
Hello I am using the following script to upload files to an SFTP location. I would like to add the ability to check if the transfer was successful somehow even if it is just in a log file. I am open to any ideas or suggestions.