Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: .NET assembly - getting Permission Denied. Error Code: 3 on SFTP.

Show us a session log file both using .NET assembly (Session.SessionLogPath) and GUI.
User1337

.NET assembly - getting Permission Denied. Error Code: 3 on SFTP.

When I use any ftp client, such as FlashFXP, FileZilla, or even WinSCP.exe, I can upload files, and folders with files (meaning that I have creating dirs permission for my user).
but, when using C# .NET assembly, creating a connection through Sftp, (with security given up, without a fingerprint), I can only upload files that their directory already exist in the server. If I upload a directory with some files using the .NET assembly, I get a SessionRemoteException: Permission Denied. Error Code 3.

Is there any specifiec special settings I have to set on the server? or on the user?, or is this a problem with the .NET assembly?
Thanks.