|
-
Jul 7th, 2006, 11:19 PM
#6
PowerPoster
Re: Winsock help (please) :/
thats small .. anyway you need to add the data together as it comes in then write it to a file when it is complete
on data arrive .. example ..
Winsock1.GetData strData, vbString
ReceiveData = ReceiveData & strData
then on winsock close ..
intFile = FreeFile
Open TempFile For Binary As #intFile
Put #intFile, , ReceiveData
FileClose
see attachment ..downloads files and webpages.. could use more done to it, but it works .. ive downloaded 400mb files with it .. i just havent had time to complete it such as customise it more with text entry boxes for URL etc ..
you could also have them write to temp files as they are downloading and create your own auto resume program if it is paused, but ill leave that to you ;-)
Rory
Last edited by rory; Nov 11th, 2006 at 02:53 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|