client.DownloadFile('/my/absolute/path', stream) throwing empty ssh.net exception (staus code "Failure")
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 4.4k
- フォーク
- 993
- 平均マージ
- 9日 21時間
- マージ済み PR(30日)
- 1
説明
_client.DownloadFile("/absolute/path/to/file.csv", stream)
I confirmed file, path, authentication, filname is ok.
I can download this file using other clients.
The destination supports multiple ftp servers, the old servers still work using ssh.net
the new server where these files get replicated are throwing this vague exception.
new servers work in other clients.
after stepping through this code locally, i can narrow it down to GetSftpException => response.StatusCode "Failure".

so it throws this generic exception with no message

stepped through it like 20x. can't see why the status code gets assigned a "Failiure" :(
using your latest source code as of today
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、新しいサーバーに対して client.DownloadFile("/absolute/path/to/file.csv", stream) を再現し、その後、GetSftpException と、レポートで言及されている response.StatusCode の処理を調査します。失敗するサーバーのレスポンスを、動作する SSH.NET サーバーおよび他のクライアントのレスポンスと比較します。レスポンスが Failure と報告される理由を特定し、具体的な修正またはより明確なエラー動作を確立できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- networking
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100