Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Checking if file exists on remote server

ldaugher wrote:

I can provide the log if you feel like I shouldn't be receiving the error to begin with.

Would be fine... :-)
ldaugher

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