GET - DELETE will delete files even if not transferred succe
I am using WINSCP with scripting to automate file transfer on a 5 minute interval.
It is set to download files every 5 minutes from an FTP server. I use a GET -DELETE in my script, as I want the files on the FTP serve to be deleted once files are successfully transferred. However, it seems on at least two occasions that files were deleted even though they were not successfully downloaded. I checking the logs, I can see in both cases that there was some kind of network issue, causing the connection to drop out many times.
Is it possible sometimes WINSCP get's confused and deletes files even though not successfully transferred? And if so, would any workarounds exist? Any suggestion appreciated.
It is set to download files every 5 minutes from an FTP server. I use a GET -DELETE in my script, as I want the files on the FTP serve to be deleted once files are successfully transferred. However, it seems on at least two occasions that files were deleted even though they were not successfully downloaded. I checking the logs, I can see in both cases that there was some kind of network issue, causing the connection to drop out many times.
Is it possible sometimes WINSCP get's confused and deletes files even though not successfully transferred? And if so, would any workarounds exist? Any suggestion appreciated.