using OnXferProgress32 for a progress bar

General question and discussion.

using OnXferProgress32 for a progress bar

Postby impulse24 » Tue Jul 25, 2006 6:27 pm


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)
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.
Posts: 2
Joined: Tue Jul 25, 2006 6:23 pm

Return to Using TurboFTP SDK

Who is online

Users browsing this forum: No registered users and 1 guest