Firstly, I am aware of similar question being asked before.
The subject pretty much explains the question but still,
the file is hosted on another server, the user will download file via my script, streamed to him...
But the problem is user can't resume it once paused...any solutions?
What's the purpose of this? hiding urls only or just allowing members to download?
The way you described it, it's a bit tricky ...
You can try implementing your own download script using
Accept-Ranges
andContent-Range
here is a prof of concept :Using Internet Download Manager
Start
Paused
Paused State
Resume
Finished
Class Used
File Used
If you're using PHP to serve the file, you have to implement all resuming logic yourself.
You'll have to send Accept-Ranges and respond appropriately to Ranges.
That's a chunk of work. It might be easier to use
mod_proxy
.