System.Exception: Server returned an error (General questions)
I have a windows service (C#) which is periodically searching for files on a remote server – when it finds files that matched a certain naming convention it attempts to download the files.
When calling the GetFile method I get:
[code]
System.Exception: Server returned an error: End of file
at WeOnlyDo.Protocols.SFTP._GetFile()
at WeOnlyDo.Protocols.SFTP.GetFile(String LocalPath, String RemoteFile)
at WeOnlyDo.Client.SFTP.GetFile(String LocalPath, String RemoteFile)
[/code]
(I am able to connect to the server using WINSCP3 and download the files)
Any clue as to how to get around this issue?
Complete thread:
- System.Exception: Server returned an error - Yuval, 2005-05-03, 16:03
- Re: System.Exception: Server returned an error - wodSupport, 2005-05-03, 16:10
- Re: System.Exception: Server returned an error - sbowers, 2005-06-30, 23:19
- Re: System.Exception: Server returned an error - wodSupport, 2005-06-30, 23:47
- Re: System.Exception: Server returned an error - sbowers, 2005-06-30, 23:19
- Re: System.Exception: Server returned an error - wodSupport, 2005-05-03, 16:10