home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewse!cbnewsd!att-out!rutgers!uwvax!cs.wisc.edu!shubu
- From: shubu@cs.wisc.edu (Shubhendu Mukherjee)
- Newsgroups: comp.unix.questions
- Subject: Re: Doing FTP in background ...
- Message-ID: <SHUBU.92Sep10142728@green.cs.wisc.edu>
- Date: 10 Sep 92 20:27:28 GMT
- References: <32515@adm.brl.mil>
- Sender: news@cs.wisc.edu (The News)
- Organization: Univ. of Wisconsin @ Madison, CS Dept.
- Lines: 28
- In-Reply-To: hjbortol@impa.br's message of 10 Sep 92 15:52:12 GMT
-
- >>>>> In article <32515@adm.brl.mil>, hjbortol@impa.br (Humberto Jose Bortolossi) writes:
-
- HJB> Is it possible to do ftp as an process running in background? I tried
- HJB> to do this using a script file but I didn't get sucess. How do I supress the
- HJB> transaction ftp messages? I tried the following:
-
- HJB> nohup ftp xxx.xxx.xxx < ftp.commands > dev/null &
-
- HJB> where ftp.commands is a file with ftp commands.
-
- Create a .netrc file containing the following:
-
- machine <machine-name> login <login-name> password <password>
-
- Check the man page of netrc(5) for details.
-
- Then you can do
-
- ftp <machine-name> < ftp.commands > /dev/null &
-
-
- Luck!
- -Shubu
- --
- -------------------------------------------------------------------------
- Shubhendu Sekhar Mukherjee University of Wisconsin @ Madison, C.Sc.
- Net:shubu@cs.{wisc,utexas}.edu [W]:(608) 262-1012 [H]:(608) 255-6322
- -------------------------------------------------------------------------
-