SSH.NET UploadFile and SshCommand stops running after an connectivity interruption

オープン
#894 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp
領域
networking

調査の方向性

まず SftpClient.UploadFile と SshCommand.Execute を調べ、次に大容量のアップロードまたは PowerShell コマンドの実行中に中断を再現します。復元された接続で期待される動作と、操作を再開すべきかどうかを判断します。両方の操作について、その動作が実装されるか、明確に文書化されて検証されれば、issue は完了です。

索引モデルが issue の本文から書いたものです。

説明

With the SSH.NET Script that I am writing I want to Upload some specific large Files and start a time consuming PowerShell Script. To Upload the Files I am using UploadFile from SftpClient und to start my .ps1-File I use CreateCommand and Execute from SshCommand.

My Problem is, that the UploadFile as well as the execution of the ps1-Script will not continue to run my c# Script when the Connection is restored after an interruption.
Is there a way to resume/restore the ssh Connection so that the Upload and SshCommand continues to run, so that my other c# commands get executed

主要言語
C#
スター
4.4k
フォーク
993
平均マージ
9日 21時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sshnet/SSH.NET のほかの issue

sshnet/SSH.NET の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。