GetFiles interrupted corrupt remote file

Advertisement

Err94
Guest

GetFiles interrupted corrupt remote file

Hi.

I am working on a c# application with WinSCP library.

To download file (using WebDAV) i am using getfiles. But if i try to force connection lost during transfer remote file becomes corrupted.

There is some trick to avoid this situation?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,464
Location:
Prague, Czechia

Re: GetFiles interrupted corrupt remote file

Do you mean that, if you abort the connection during a download, the source files on the server get corrupted?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,464
Location:
Prague, Czechia

If you want us to investigate closer, please attach a full session log file showing the problem (using the latest version of WinSCP).

Though I'm 99% sure, that this has nothing to do with WinSCP. It must be server-side problem.

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum