Help with file pointers
Posted: Sun May 17, 2009 3:42 pm
I want to download a file from a url and store it on my server. The size of these files range from 1mb to 1gb.
What I want to do is create a couple of file pointers (one for input and one for output) and stream from one to the other.
I can't do this all in one page load because it will timeout and I don't have access to modifying the timeout settings.
I would like to download a piece every time the page refreshes but I can't save the file pointers in the session.
Anybody have any ideas on how I can achieve this?
What I want to do is create a couple of file pointers (one for input and one for output) and stream from one to the other.
I can't do this all in one page load because it will timeout and I don't have access to modifying the timeout settings.
I would like to download a piece every time the page refreshes but I can't save the file pointers in the session.
Anybody have any ideas on how I can achieve this?