I would like to have example that I can use wininet.dll to transfer file (ftp).
The problem I have now is how to set the time out on InternetConnect function. For example, if I am attempting to connect to a machine that is completely off the network (for instance, if I enter a bogus IP number), the Internetconnect function will block my task for over 1 min. I know how to do it in C++ but I want to do it in VB.
I have tried to use msinet.ocx but there is bug inside and it will give me an Access Violation when my program runs for over an hour (it is really unpredicable). (This is bug that has already confirmed by MS).