>>Sarosh,
>>I have those and more in my version and clear dlls doesn't even take a second.
>>Cetin
>
>If I create the object and not connect using InternetOpen(...) or InternetConnect(...) and then clear dlls it does not take any time but once I use the InternetOpen(...) and InternetConnect(...) and then clear dlls it takes between 30-50 seconds.
>
>Sarosh
Sorry, have no idea. I also connect, list, put, get before clearing and takes no time.
I have this code to disconnect if helps :
With thisform
If .hConnection # 0 Then
If InternetCloseHandle( .hConnection ) = 0
.FtpResponse('Error disconnecting.')
Else
.FtpResponse('Disconnected.')
.hConnection = 0
Endif
Endif
Endwith
Cetin