D&C GLug - Home Page

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

Re: [LUG] Download script

 

SME Server? What's that?
On 13 Dec 2004, at 11:34, Rob Beard wrote:

Quoting David <hhdave@xxxxxxxxxxxxxxxx>:

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


Thats sounds like a good program, but I still have the problem off SSHing into
my server from work. The server is running SME Server 6.0.


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.