Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Support for number of bytes sent via PutFile(Stream)

In principle, WinSCP cannot known what percentage of data that was transferred, as the Stream size might be unknown. If you know the size, you can monitor amount of data that WinSCP read from the Stream and calculate the percentage yourself.
Though I'll look into it anyway.
chrisCT

Support for number of bytes sent via PutFile(Stream)

When uploading a stream with PutFile(), FileTransferProgressEventArgs only reports that FileProgress is 1 (100%) no matter how much has been sent. Are there plans to support progress tracking with stream transfers? If not, could you point me in the right direction as far as exposing something in the source code for my own purposes?