Re: .netrc for Auto-login FTP session.

2000-11-23 Thread Nadav Har'El

On Thu, Nov 23, 2000, Benji Selano wrote about ".netrc for Auto-login FTP session.":
> Hi...
> 
> Where can i find some info on Auto-login ftp sessions?
> I can't seem to find a man page on the .netrc file.

It's strange you and all the people who answered you missed the obvious
answer - the manpage you're looking for is netrc(5)!!! (see 'man netrc').

About 7 years ago I wrote a shell-script which uses the standard ftp (not
ncftp or any other such non-standard program) to automate file transfers
using .netrc's. If you're interested, take a look at
ftp://ftp.math.technion.ac.il/nftp/README
ftp://ftp.math.technion.ac.il/nftp/nftp.3.04.shar.Z

-- 
Nadav Har'El|   Thursday, Nov 23 2000, 26 Heshvan 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |I want to be a human being, not a human
http://nadav.harel.org.il   |doing -- Scatman John

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: .netrc for Auto-login FTP session.

2000-11-23 Thread Alex Shnitman

Hi, Benji!

On Thu, Nov 23, 2000 at 05:26:01PM +0200, you wrote the following:

> what i'm actually looking for is a way to give the Login and the Password
> Via script or .netrc file. 
> (using normal ftp)

Quite easy:

ftp -n hostname 

Re: .netrc for Auto-login FTP session.

2000-11-23 Thread Boaz Rymland

Benji Selano wrote:
> 
> what i'm actually looking for is a way to give the Login and the Password
> Via script or .netrc file.
> (using normal ftp)
> 

So it seems I was in the right direction... :-)  :

ncftpget -u bengi -pfoobar $ftp_server . $image
will fetch the $image (full path) to the current dir' from $ftp_server.

In short, as ncftpget has lots of very useful nice options:
man ncftpget...


Boaz.
-- 
/"\
\ / ASCII Ribbon Campaign
 x  Against HTML Mail
/ \

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




RE: .netrc for Auto-login FTP session.

2000-11-23 Thread Benji Selano

what i'm actually looking for is a way to give the Login and the Password
Via script or .netrc file. 
(using normal ftp)

Benji


-Original Message-
From: Boaz Rymland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 23, 2000 5:19 PM
To: '[EMAIL PROTECTED]'
Subject: Re: .netrc for Auto-login FTP session.


Benji Selano wrote:
> 
> Hi...
> 
> Where can i find some info on Auto-login ftp sessions?
> I can't seem to find a man page on the .netrc file.
> 
> Thanks.
> Benji

If you mean auto-login from the client side, you can try ncftp /
ncftpget/put

Boaz.

-- 
/"\
\ / ASCII Ribbon Campaign
 x  Against HTML Mail
/ \

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: .netrc for Auto-login FTP session.

2000-11-23 Thread Boaz Rymland

Benji Selano wrote:
> 
> Hi...
> 
> Where can i find some info on Auto-login ftp sessions?
> I can't seem to find a man page on the .netrc file.
> 
> Thanks.
> Benji

If you mean auto-login from the client side, you can try ncftp / ncftpget/put

Boaz.

-- 
/"\
\ / ASCII Ribbon Campaign
 x  Against HTML Mail
/ \

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




.netrc for Auto-login FTP session.

2000-11-23 Thread Benji Selano

Hi...

Where can i find some info on Auto-login ftp sessions?
I can't seem to find a man page on the .netrc file.


Thanks.
Benji

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]