Topic "Checking if file exists on remote server"

Author Message
ldaugher

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
ldaugher wrote:
I can provide the log if you feel like I shouldn't be receiving the error to begin with.

Would be fine... Smile
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License