Sign in to follow this  
Followers 0
Kragen

partly download a file

1 post in this topic

hey guys.

I am making a script, that has to download a file in to parts.

Like, it downloads the first half now and then next time i run it, it downloads the other half part of the file.

eg:

I have a file on http://domain.com/file.ext

the file size is exactly 2000 kb.

First time I run my script, I want it to download the first 1000 kb of the file.

Second time, the remaining 1000 kb of the file.

Is this possible?

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  
Followers 0