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

Re: FTP into Linux box



On Mon, Mar 12, 2001 at 08:35:31AM -0500, 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
> user bbell my_password
> 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.
> 
This question raises a question. According to man ftp the -n flag
takes ftp out of autologin mode. In autologin mode it takes its
commands from a .netrc file. I can't make that work or maybe I
can't put ftp in autologin mode.
Any illumination out there on this matter?
-- 
-------------------------------------------
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] []