Checking if file exists on remote server
Hi--
I am uploading a file through script and I have been noticing that some larger files sometimes have an error midstream but winSCP recovers and then successfully uploads the file; however, the errorlevel that is returned to me is still 1.
So, I was wondering how to check if the uploaded file existed on the remote server before returning an actual error? I can provide the log if you feel like I shouldn't be receiving the error to begin with.
Thanks so much
Laura
I am uploading a file through script and I have been noticing that some larger files sometimes have an error midstream but winSCP recovers and then successfully uploads the file; however, the errorlevel that is returned to me is still 1.
So, I was wondering how to check if the uploaded file existed on the remote server before returning an actual error? I can provide the log if you feel like I shouldn't be receiving the error to begin with.
Thanks so much
Laura