sshnet / sshnet/SSH.NET

No Error message when 'Permission Denied' attempting to upload file to cerberus server

Open
#1,208 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
4.4k
Forks
993
Avg merge
9d 21h
Merged PRs (30d)
1

Description

We are using SSH.net in our application to upload files to a cerberus FTP server. The user that attempted to upload the file did not have the upload permission and therefore was denied uploading the file. The upload threw an exception (as expected) but it didn't have a message or an inner exception or anything in it. We also found this 5 year old SO post about it for a few other people. Is there anyone who can help us get this fixed?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing an SSH.NET file upload to a Cerberus FTP server with a user lacking upload permission, then trace the resulting exception. Done means the permission-denied failure exposes a useful error message or inner exception instead of an empty exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.