check whether new file has been uploaded in winSCP folder
i have scheduled a window service to run every 3 minutes to process files uploading in winSCP folder.
now the steps used in the service is
1) copying remote file to local folder
2) process the files from local folder.
3) delete file from local folder.
now suppose a new file is being uploaded when the service is in step 2,
then what happens here is the new file which is uploaded is deleted in step 3.
is there any way to stop this.
now the steps used in the service is
1) copying remote file to local folder
2) process the files from local folder.
3) delete file from local folder.
now suppose a new file is being uploaded when the service is in step 2,
then what happens here is the new file which is uploaded is deleted in step 3.
is there any way to stop this.