Option 1) SCP  -- This is what I would use.
Option 2) ncftp has a fully scriptable command line interface.  I would look
into the help on it.

> -----Original Message-----
> From: Paul Crossman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 28, 1999 11:18 AM
> To: [EMAIL PROTECTED]
> Subject: trying to set up unattended ftp as part of a shell script
>
>
> 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