Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Graham Harris on December 01, 2002, 03:34:48 AM
-
Hi,
I'm a relative newbie. I have sme5.5 running fine administered from my remote(ish) win box. I would like to have a test server with 5.6b on it.
I have a slowish connection to the net and I want to start an ftp download to my 5.5 box from an ssh session and not have it terminate as soon as I close the ssh session.
I have searched around and am aware of fg/bg/jobs but how do I put an interactive ftp session into the background and not have it hang up (nohup)??.
I know I could use wget and an & but I am trying to educate myself. :)
Thanks
Graham
-
Graham Harris wrote:
> I have a slowish connection to the net and I want to start an
> ftp download to my 5.5 box from an ssh session and not have
> it terminate as soon as I close the ssh session.
>
> I have searched around and am aware of fg/bg/jobs but how do
> I put an interactive ftp session into the background and not
> have it hang up (nohup)??.
>
> I know I could use wget and an & but I am trying to educate
> myself. :)
I'd strongly advise you to use rsync rather than ftp. There's a HOWTO on this web site. Use nohup to run the command to have it continue after logout.
Charlie
-
Thanks Charlie,
I have just read the howto and the rsync is happening as I type this in a detached session.
Cheers,
Graham