home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!crdgw1!rdsunx.crd.ge.com!c0223!joslin
- From: joslin_paul@ae.ge.com
- Newsgroups: comp.unix.questions
- Subject: Re: Doing FTP in background ...
- Message-ID: <joslin.716213151@c0223.ae.ge.com>
- Date: 11 Sep 92 12:05:51 GMT
- References: <32515@adm.brl.mil> <SHUBU.92Sep10142728@green.cs.wisc.edu>
- Sender: usenet@crd.ge.com (Required for NNTP)
- Reply-To: joslin_paul@ae.ge.com
- Distribution: na
- Organization: GE Aircraft Engines
- Lines: 35
- Originator: news@c0228.ae.ge.com
- Nntp-Posting-Host: 129.202.2.241
-
- shubu@cs.wisc.edu (Shubhendu Mukherjee) writes:
-
- >>>>>> 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 &
-
- It's not a good idea to have a plaintext password stored anywhere on a
- system. While permissions on .netrc should be 600, and you may trust
- root, if root is compromised, the cracker now has another account on
- another machine to work from. A better solution is to use "ftpget" or
- "xtp". Use archie to find a source; xtp is in the ImageMagick
- distribution. I prefer ftpget. If you find a version later than Jun
- 1991, please send email.
- --
- Paul R. Joslin |Dan Quayle's Top 10 TV complaints:
- joslin@c0223.ae.ge.com | 10. Nobody ever "beams up" William Shatner on
- +1 513 583 3537 | Rescue 911.
-