Re: auto FTP with .netrc

From: Alberto 'JCN-9000' Varesio (Fake.User_at_Hotmail.com)
Date: 07/27/04


Date: Tue, 27 Jul 2004 12:48:57 +0200

mei wrote:
> Hi,
>
> 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?
>
> Any comments will be highly appreciated.
>

Maybe setting permissions to be 600 ?

-- 
  Alberto 'JCN-9000' Varesio AKA BlueRider   AIX pSeries System Admin
  Datavision PLM - Tel: +390117710276      Biker on HONDA CB500 - LHG
  http://www.datavisionplm.com              Jeeper on Sport TJ - Wave
  Please http://www.fsf.org/philosophy/no-word-attachments.html, thx!
==
  BOFH Excuse: OS swapped to disk


Relevant Pages

  • auto FTP with .netrc
    ... I'm trying to set up an automatic ftp access to a remote server. ... purpose is to enable a local script to grab some files from the remote ... machine ftp.x.org login anonymous password rpf@umich.edu ...
    (comp.unix.aix)
  • Re: auto FTP with .netrc
    ... > I'm trying to set up an automatic ftp access to a remote server. ... > purpose is to enable a local script to grab some files from the remote ... > machine ftp.x.org login anonymous password rpf@umich.edu ...
    (comp.unix.aix)
  • Re: auto FTP with .netrc
    ... > I'm trying to set up an automatic ftp access to a remote server. ... > purpose is to enable a local script to grab some files from the remote ...
    (comp.unix.aix)
  • Re: auto FTP with .netrc
    ... I'm trying to set up an automatic ftp access to a remote server. ... I have created the .netrc file under /home with the following test ... machine ftp.x.org login anonymous password rpf@umich.edu ...
    (comp.unix.aix)