current uploading speed (wodSFTP / wodSFTP.NET / wodSFTPdll)
current uploading speed
I want to get current uploading speed.Please give me some code Thanks
Re: current uploading speed
Hi,
Unfortunately, you cannot get upload speed with wodSFTP.
Only that can help you and maybe solve your problem is Progress Event which is fired during file transfer.
There you can find Position (Current transfer position.) and Total (Total number of bytes that should be transferred).
Here is example which shows how many percentage is currently uploaded:
--------------------------------
Private Sub sftp1_Progress(ByVal Position As Long, ByVal Total As Long)
Debug.Print (Position / Total) * 100
End Sub
--------------------------------
Hope this helps.
Regards,
Drazen