Re: auto FTP with .netrc
From: Erik C.J. Laan (news_at_elaan.dds.nl)
Date: 07/28/04
- Next message: David Martin: "how do I get a FC network address"
- Previous message: Eduardo: "Aix Mac Address - How to change it ?"
- In reply to: Frank da Cruz: "Re: auto FTP with .netrc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Jul 2004 23:11:12 +0200
Frank da Cruz wrote:
> : hu_mei@hotmail.com (mei) wrote in message
> : news:<243028f6.0407270105.596ca632@posting.google.com>...
> : I'm trying to set up an automatic ftp access to a remote server. The
> : purpose is to enable a local script to grab some files from the remote
> : server and update local records.
> :
> : I have created the .netrc file under /home with the following test
> : content:
> :
> : machine ftp.x.org login anonymous password rpf@umich.edu
> :
> : I know it seems to be a quite simple process yet it's not working for
> : me.
> :
> : It still asked me for username and password when I did: ftp ftp.x.org.
> :
> : How should I do it to disable prompt?
> :
> Rather than struggle with .netrc, you might want to read this:
>
> http://www.columbia.edu/kermit/ftpscripts.html
>
> - Frank
Or use ssh's 'scp' command with public/private key authentication (if
ssh is installed). Gets you a 'cp' like command and extra security as bonus.
HTH, Erik
-- -------------------------------------------------------------------------- Erik C.J. Laan elaan at dds.nl Please reply below the message, please cut unrelevant pieces from a reply. --------------------------------------------------------------------------
- Next message: David Martin: "how do I get a FC network address"
- Previous message: Eduardo: "Aix Mac Address - How to change it ?"
- In reply to: Frank da Cruz: "Re: auto FTP with .netrc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|