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

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

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License