Page 1 of 1

using OnXferProgress32 for a progress bar

PostPosted: Tue Jul 25, 2006 6:27 pm
by impulse24
Hi,

Im trying to update a progress bar in visual basic 6 with the transfer status (and don't see any sample code in the TurboFTPSDK.

Basically I have a module where I am connecting to the ftp, and downloading the file. Below is the code for the progress:

Sub OnXferProgress32(ByVal lBytes As Integer)
DoEvents
frmMain.pbStatus.value= frmMain.pbStatus.Value + lbytes
End Sub


It doesnt ever go to this sub, when I issue the tbFtp.SendFile32 method. Is there some other method I need to call for this to happen.