PHP - Resume File Upload
Posted on 2005-03-12
I'm trying to add a resume function to a program I'm creating. Right now it it uploads the file to /tmp (by the php.ini settings) then moves the file into a specified directory.
My problem is if the file was 6mb I need a way to resume the previous file transfer so that if it times out half way they don't have to start all over again.
I've thought of spawning a server side script that just moves the file in /tmp to another temporary place and have that as the file it will resume but it just doesn't sound that practical to me. Any ideas?