[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: FTP into Linux box



That is what bugs me the man page for aftp and netrc
imply for it to work your ftp must be in autolog mode.
When I try this with netrc the autologing in fails. I
am not sure how to do this. While the use of: ftp -n < <file-name>
seems to work although my impression from the man page
for ftp is that is should not.


On Mon, Mar 12, 2001 at 04:58:24PM -0600, ray@atnip.net wrote:
> You need to use .netrc file. Review man page for ftp and it will explain what
> you need to do.
> That is the only way I have been able to automate a ftp session.
> 
> On Mon 12 Mar at 09:06:56 -0500 mburger@compucomis.net done said:
> > On Mon, 12 Mar 2001, Bell, Brad wrote:
> > 
> > > I am trying to create a script which will copy files from my HP-UX system
> > > into my RH7 system.
> > >
> > > I create a script file like:
> > >
> > > open 192.0.1.89
> > 
> > You may not need to issue "user", but just the user name.  Most of the
> > time, the ftp session will request the username...you usually only have to
> > issue "user" if the initial attempt to login failed.
> > 
> > > user bbell my_password
> > 
> > Try inputting your password on a separate line, instead of on the same
> > line with the username.
> > 
> > > cd /home/maharam/data/
> > > binary
> > > prompt
> > > lcd /scratch/bbx/rmbfabric/data
> > > put CUST1
> > > bye
> > >
> > > and then
> > >
> > > ftp -n < ftp_script_file
> > >
> > > The linux system seem to reject the request. I have used this script to send
> > > files to other ftp system although
> > > I can be sure which operating system they are using.
> > >
> > > Brad Bell
> > > Maharam
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Guinness-list mailing list
> > > Guinness-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/guinness-list
> > >
> > 
> > 
> > 
> > _______________________________________________
> > Guinness-list mailing list
> > Guinness-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/guinness-list
> 
> -- 
> Ray Atnip        
> "If we couldn't laugh, we would all go insane." -- Jimmy Buffett
> 
> 
> 
> _______________________________________________
> Guinness-list mailing list
> Guinness-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/guinness-list

-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@trinity.edu





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []