Re: .netrc for ftp to solaris 8

From: Hanspeter 'Happl' Oberlin (spam-for-happl_at_bluemail.ch)
Date: 05/13/04


Date: Thu, 13 May 2004 17:24:47 +0200

In article <40a38f52$0$81187$a0465688@nnrp.fuse.net>, "Robin Storch" <robin_storch@trihealth.com> wrote:

>Yea, at the prompt instead of just logging in and giving me ftp> when I
>type: ftp (IP address), it gives me a prompt to login. The prompt contains
>the machine IP and the name I am logged in as, not the login name in the
>.netrc.

That's the normal behaviour of ftp.

After that you have to enter "user username", enter key, pwd (password),
enter key and then you are connected to the remote machine and can put
or get files.

>My .netrc looks like:
>machine XXX.XXX.XXX.XXX login username password pwd

That seems to be correct. But if possible I would use the machine name
and not the IP adress.

>The .netrc also contains three other lines containing machine names of aix
>servers, and those login just fine. Actually, I put a line in for another
>solaris 8 server I have, and that one logs in just fine too. I'm thinking
>it has to be this solaris box, there's something that's stopping me but I
>can't tell what.

In scripts I use ftp in the following forms:

ftp -v -n machinename <<_ftp
user username password
dir
_ftp

ftp -v machinename <<_ftp
dir
_ftp

-v --> verbose
-n --> prevents an automatic login on the initial connection
replace machinename, username and password with your environment



Relevant Pages

  • Re: IIS 6.0 FTP
    ... Server port: 21. ... I doubt IIS FTP has such feature. ... next, general 530 error indicating login failed, that could due to ... clients are using an order entry program created in Microsoft access. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: RBAC auth/profile to allow ftp?
    ... > Roles are not supposed to be able to login. ... > or ftp, ssh or anything else. ... Assigning these auths to a role doesn't seem to accomplish ... > for these accounts to be roles? ...
    (comp.unix.solaris)
  • Re: FTP - User login
    ... Are you referring to the Microsoft "Windows" Login when you reboot the ... and this is not actually a FTP ... as in choosing a account to login into windows on. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: ftp error messages
    ... the phrase "You entered an invalid login name or password" ... You will probably be asked to change your FTP server version info to ... 530 Login incorrect. ...
    (AIX-L)
  • Automatisches FTP Login mit dem IE scheitert beim ersten Versuch.
    ... und fordert mich auf die Login Daten einzugeben. ... Adresse, klappt es, was das? ... und es klappt immer erst beim 2ten Versuch. ... Die FTP Adresse habe ich unter Vertrauenswürdige Sites ...
    (microsoft.public.de.german.inetexplorer.ie6)