ScpClient: Uploading and Downloading events should provide absolute local and remote path
Offen
@drieseng arbeitet bereits daran.
Seit 26.8.2017.
enhancement
- Vorherrschende Sprache
- C#
- Sterne
- 4.4k
- Forks
- 993
- Ø Merge
- 9 T. 21 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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)andUpload(DirectoryInfo directoryInfo, string path), its value is the file name of the remote file (which is the only path available).
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.