Hi
I am trying to connect with sftp when I get this errormessage:
Rebex.Net.SftpException: Permission denied; syserr: Operation not permitted, file: . at wWGvS.APnbEo.sxMvMZ(BBdsJfZ , Type ) at wWGvS.APnbEo.Nbjil(String , AsNqWa , Boolean ) at Rebex.Net.Sftp.cqcMbi(AsNqWa , Object , String , Stream , Int64 , Int64 ) at Rebex.Net.Sftp.PutFile(Stream sourceStream, String remotePath)
The code:
Sftp sftp = new Sftp();
sftp.Connect(Hostname, Port);
sftp.Login(UserName, Password);
invoiceStream.Position = 0;
sftp.PutFile(invoiceStream, "/incoming/" + fileName);
It fails when I try to put the file.
I have used rebex to connect to several ftp servers before. This is the first time I see this, rather abstract, error message.
When I try to connect with a 3rd party client I have to accept an "unknown fingerprint".
Do you have any idea what might cause this?