I need to do a one-way sync files from a remote SFTP server directory to a local directory. After the sync is complete, I have to move the downloaded files to a separate directory. After that, I need to clear the remote SFTP directory so that next time, I don't download the same files again. However, there is a chance that between the time I sync the files from the remote SFTP server and clear it, I may inadvertently clear a file that didn't get downloaded originally. How can I avoid doing that? Any ideas?
Thanks
Question about sync to Remote SFTP
- Posts: 2
- Joined: 25 Apr 2018