[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Quoting Rob Beard:
I guess I'm looknig for something like a web based download manager. My knowledge of PHP at the moment is very sketchy (i.e. non existent!) so I was someone might know something that would do the job?
For a really quick, dirty and not very elegant bit of perl to do the job:
#!/usr/bin/perl
use CGI qw(param);
$url=param("url");
system("cd /writeable/dir;nohup wget $url < /dev/null &");
print "Content-type: text/plain\n\n";
print "Now downloading $url\n";
--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.