How come sometime the inet control download everything and sometime it only download half of a zip file? Same goes for the picture files too.
Any ideas?
Printable View
How come sometime the inet control download everything and sometime it only download half of a zip file? Same goes for the picture files too.
Any ideas?
The MSInet Control is very buggy and isn't great for big work. Notice: Text1.text = Inet1.OpenURL, it doesn't get all of the webpage but sometimes it does, same goes for your problem.
You should use Winsock instead.
Can you show me how to get started with some code for the winsock?
Thanks!
You should check http://www.planet-source-code.com for examples on Winsock.
Thanks Matthrew!
That is twice you helped me today.
Will keep my eye out when you need help!
Matthew!
I can't really find an example of Winsock on that site for downloading a specific site file.
Basically, I want to type "Http://Bla Bla/myzipfile.zip" into an input box and it will download that file for me.
The MS INET does it 90% of the time and fail the other 10%.
If anyone has basic codes of winsock, can you post it?
Thanks!
Try:
http://<br /> <a rel="nofollow" hre....zip</a><br />
or
http://<br /> <a rel="nofollow" hre....zip</a><br />
Hope that helps,
D!m
Thanks Dim!
The second example is a bit too complicated. I am new to winsock. So I am going to stick with the first example until I have a basic understanding of Winsock.
I tried the first example. It asked which form do you want to be the main form. Where do I enter the "Http://Bla Bla/myzipfile.zip"?