I want to upload a file to SFTP server using Python script and create {filename}.done when the file transfer completes to make sure transfer was successful. Can anybody help me on this how I can achieve this task?
And, by the way, I already have working code to transfer the main file using paramiko python module. I just need suggestion on how to automatically create .done file.
Suggestions will be highly appreciated.