Jump to content
Sign in to follow this  
Ontosy

InetGet Partial

Recommended Posts

Ontosy

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 by Ontosy

Share this post


Link to post
Share on other sites
narayanjr

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?

Share this post


Link to post
Share on other sites
Ontosy

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?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×