Ellick Chan wrote:
>
> On Tue, 18 Jul 2000, maxtor wrote:
>
> > Date: Tue, 18 Jul 2000 22:23:47 -0400
> > From: maxtor <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: [expert] Ftp Woes
> >
> >
> >
> > I need a bit of help. I am trying to write a shell script for ftp. I want it
> > to log into a remote ftp, upload several files, tehn exit.
>
I use script like this and it works fine.
#!/bin/sh
#Simple shell script
ftp -n yourhostname or ipaddress << !
user usernamehere passwdhere
binary
cd somedirectoryhere
get filenamehere
quit
!
> This sounds like a job for lftp, use lftp -c commands
>
> > When i open a
> > terminal windo and type # ftp ftp.theservername.com All that i get is "ftp:
> > connect: no route to host" But if I use gftp and try the same server it logs
> > right in. What am I doing wrong. Does anyone know???
> >
>
> Hmm, not sure as of the cause of this, did you try a traceroute, ping?
> > Maxtor
> >
>
> --
> Regards,
>
> Ellick Chan
> [EMAIL PROTECTED]
> Jul 18
--
Eero Suomi
Lohjan kaupunki
Kalevankatu 4
[EMAIL PROTECTED]