sshnet / sshnet/SSH.NET

ScpClient: Uploading and Downloading events should provide absolute local and remote path

Aperta
#287 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@drieseng ci sta già lavorando.

Dal 26/8/2017.

enhancement
Lingua principale
C#
Stelle
4.4k
Fork
993
Merge medio
9g 21h
PR unite (30g)
1

Descrizione

Problem

Right now, the ScpDownloadEventArgs and ScpUploadEventArgs classes only have a single Filename property that contains the only file name of the local or remote file that this being downloaded or download.

For the Download overloads, ScpDownloadEventArgs.Filename always contains the file name of the remote file that is being downloaded.

For the Upload overloads, there's little consistency in the value of ScpUploadEventArgs.Filename:

  • For Upload(FileInfo fileInfo, string path), its value is the file name of the local file.
  • For Upload(Stream source, string path) and Upload(DirectoryInfo directoryInfo, string path), its value is the file name of the remote file (which is the only path available).

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.