Ontosy Posted August 17, 2007 Posted August 17, 2007 (edited) do it is possible to request to get only one or more subparts of a specified document? For example the first 100 bytes of a document: InetGetPartial("http://url.com",0,99) ? Edited August 19, 2007 by Ontosy
narayanjr Posted August 17, 2007 Posted August 17, 2007 InetGet("Link", @DesktopDir & "\ name", 1, 1) While @InetGetActive If @InetGetBytesRead >= 100 Then InetGet("abort") Wend Wend that should do it i think but wouldn't the file be corrupt and not work?
Ontosy Posted August 18, 2007 Author Posted August 18, 2007 InetGet("Link", @DesktopDir & "\ name", 1, 1) While @InetGetActive If @InetGetBytesRead >= 100 Then InetGet("abort") Wend Wend that should do it i think but wouldn't the file be corrupt and not work? It is good but if i will to download from 100 to 200 Byte? InetGetPartial("http://url.com",100,199) without to download the first 99 byte?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now