I use ncftp and ncftpget to do just as you need. You can specify
username and password as parameters..

Greg.


---------------------------------------------------
Paul wrote:

I'm trying to write a shell script where part of the functionality is an

ftp.  How can I use ftp or a related utility so that I, or someone else
doesn't have to be there to type the password.

I tried

ftp < filename, where filename is a text file that has stuff in it that
I would type at the prompts....no go.

I also tried

ftp host.do.main < filename

I can't use anything like rsh or rcp as this is a very secure
environment that I'm working in.  Every box is locked down for the most
part.  Most of my activities have to be done via ssh.

I haven't tried sftp, but I'm pretty shure that it's not going to work.

Anyone have any suggestions???

Sincerely,
Paul C.
-----------------------------------------------


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to