Re: Problem using WeOnlyDo.Client.FtpDLX, Timeout - WeOnlyDo Discussion board

Re: Problem using WeOnlyDo.Client.FtpDLX, Timeout (General questions)

by woddrazen, Friday, October 17, 2008, 19:45 (5680 days ago) @ sergiotarrillo

Hi Sergio,


Can you please unload wodFtpDLX.NET reference before starting new one? To do that you should add this code just after Disconnect Method in your code:
[code]objFTP = Nothing[/code]
So your code should look something like this:
[code] For Each sFile As String In arrayFiles

Try
Dim objFTP As New WeOnlyDo.Client.FtpDLX
objFTP.Blocking = 1
objFTP.LicenseKey = linceskey
objFTP.Hostname = url
objFTP.Login = user
objFTP.Password = password
objFTP.Connect()

objFTP.PutFile(sFile, serverFolder)
objFTP.Disconnect(True)

objFTP = Nothing

Catch ex As Exception
ex.Message.ToString()
End Try
Next[/code]
Let us know how it goes.


Regards,
Drazen


Complete thread: