Differences

This shows you the differences between the selected revisions of the page.

2023-12-18 2023-12-18 (current)
stream anchor (martin) caller can still calculate the progress (martin)
Line 28: Line 28:
===== [[remarks]] Remarks ===== ===== [[remarks]] Remarks =====
-Event ''[[library_session_filetransferred|Session.FileTransferred]]'' is raised for the upload. Also raises [[library_session_filetransferprogress|''Session.FileTransferProgress'']] throughout the transfer, but because size of the source data is unknown, the ''FileProgress'' and ''OverallProgress'' fields of [[library_filetransferprogresseventargs|''FileTransferProgressEventArgs'']] are not valid.+Event ''[[library_session_filetransferred|Session.FileTransferred]]'' is raised for the upload. Also raises [[library_session_filetransferprogress|''Session.FileTransferProgress'']] throughout the transfer, but because size of the source data is unknown, the ''FileProgress'' and ''OverallProgress'' fields of [[library_filetransferprogresseventargs|''FileTransferProgressEventArgs'']] are not valid.((The caller of the method can calculate the progress though, by monitoring reads from the stream.))
Streaming is supported with the [[sftp|SFTP]] and [[ftp|FTP]] protocols only. Streaming is supported with the [[sftp|SFTP]] and [[ftp|FTP]] protocols only.

Last modified: by martin