Permission denied while ploading a file
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 4.4k
- フォーク
- 993
- 平均マージ
- 9日 21時間
- マージ済み PR(30日)
- 1
説明
Version: 2016.1.0.0
Issue: We have a scenario where we download the file from clients SFTP server and put it in s3 and append something to that and overwrite the existing file in SFTP. While uploading the file we are seeing this issue of permission denied.
I tried uploading the file manually through filezilla and it works without issues.
Error Details:
Message: Permission Denied.
Stack Trace:
at Renci.SshNet.Sftp.SftpSession.RequestOpen(String path, Flags flags, Boolean nullOnError)\n at Renci.SshNet.SftpClient.InternalUploadFile(Stream input, String path, Flags flags, SftpUploadAsyncResult asyncResult, Action`1 uploadCallback)\n at
I would like know
Why this is happening?
Will there be a scenario where the SFTP transfer works with filzilla but not using SSH.NET?
How to capture the messages from SSH.NET programatically?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue に記載されている SftpClient のアップロードを再現し、RequestOpen と InternalUploadFile のスタックエントリを調査します。SSH.NET による転送と、成功した FileZilla による転送を比較し、SSH.NET のメッセージをプログラムで取得する方法を特定します。権限の違いの原因を特定し、関連する診断出力を文書化できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- networking
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100