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

Author Message
User1337
[View user's profile]

Joined: 2015-12-07
Posts: 2
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Show us a session log file both using .NET assembly (Session.SessionLogPath) and GUI.

Your duplicate post on Stack Overflow:
http://stackoverflow.com/q/35275078/850848
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License