Ontosy Posted August 17, 2007 Share 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 Link to comment Share on other sites More sharing options...
narayanjr Posted August 17, 2007 Share 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? Link to comment Share on other sites More sharing options...
Ontosy Posted August 18, 2007 Author Share 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? Link to comment Share on other sites More sharing options...
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