D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Download script

 

assuming your home web server is running Linux (or some other unix) what I would do is use ssh to connect to the machine. That will save you having to write or find a download manager - you can just use wget or curl to do the downloading. The obvious problem with this is that when you disconnect from the machine (presumably you don't want to leave an ssh connection to your home machine open) the downloading program will be terminated. The easy solution to this problem is to use 'screen'. Screen is a fantastically useful program - it allows you to have a logged in session even when you disconnect from your machine. You can also, say, log in from work, connect to your session, do stuff, disconnect and then reconnect to the same session from home.

Basically, type:-
        screen
to create a new session. Then to disconnect from that session type
        ctrl-a, d
to reconnect to an existing session type:-
        screen -R -D

I used to use this all the time to make my home machine download ISOs from work.

-- David

On 13 Dec 2004, at 10:52, Rob Beard wrote:

Hi folks,

I have a question that isn't entirely Linux related but I thought maybe
someone might know of something that would do the job...

Basicly after getting my broadband connection, I've been trying to download a
couple of ISO's (Fedora Core 3). At the moment my connection is running at
2Mbit (thanks to Eclipse Internet's 1 month free flexing), and I'm finding
ISO's download really quickly.


Now I was wondering, is there any sort of script (PHP, Perl etc) that would
allow me to connect to my home web server, enter a url in a page and have the
server download it for me so it is all ready for me to burn to CD/DVD when I
get home from work?


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?


Regards,

Rob




-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.



--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.