ScpClient: Uploading and Downloading events should provide absolute local and remote path
Aperta
@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)andUpload(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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.