Cannot upload file on SFTP - Error code 2

Advertisement

Maya
Guest

Cannot upload file on SFTP - Error code 2

Hi,

I like this DLL very much and I am planning to use it in my new project :)
The issue that I have is related to file upload on sftp server. I am using c# programming language.
I created a prototype application and I successfuly downloaded files from SFTP using method GetFiles and syncronized folders using method SynchronizeDirectories.

Only method PutMethods is not working for me. I am getting error:
Cannot create remote file '/OpenCases/Export11.xml'. ---> WinSCP.SessionRemoteException: No such file or directory.
Error code: 2
Error message from server: No such file.
--- End of inner exception stack trace ---
at WinSCP.OperationResultBase.Check()
at TestSFTP_Connection.Form1.btnSync_Click(Object sender, EventArgs e) in .... <PATH>

I dont understand why I couldnot upload it - user has all rights on SFTP server.

I tested upload and download using WinSCP application - the same issue exist with file upload operation.

Please help, I would like to use this component in my new project.

[/img]
  • LOG.log (982.21 KB, Private file)

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum