hi,
when this event is raised my app. freeze , download continue but my application dousn't responde. when download finish my app response again..
how i can solve this problem ?
thanks
Friend WithEvents EDT As New EnterpriseDT.Net.Ftp.FTPClient()
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
mySize = EDT.Size(strRemoteFullName)
EDT.Get(strLocalFullName, strRemoteFullName)
Private Sub FileTransfer_OnProgress(ByVal eventSender As System.Object, ByVal eventArgs As EnterpriseDT.Net.Ftp.BytesTransferredEventArgs) Handles EDT.BytesTransferred
Dim WiP As Integer = 0
WiP = eventArgs.ByteCount
ProgressBar1.Minimum = 0
ProgressBar1.Maximum = mySize
ProgressBar1.Value = mySize - WiP
End Sub