I'm having a lil issue getting a transload script to work. Now it works fine cept that when the user aborts the file stops downloading:
set_time_limit(0); ignore_user_abort(true); $source = "http://www.asite.com/etc/file.exe"; $dest = "file.exe"; copy($source, $dest);
Also PHP Safe Mode isn't on. Any suggestions?
So long as a user runs the script, they can stop it.
Two options:
1 don't have a user run this, cron it.
2 don't have the script actually do the copy, it could set something up so that a background process does it.