For automated ftp, i have done this before

#!/bin/sh

{
        echo "open server"
        echo "user anonymous [EMAIL PROTECTED]"
        sleep 2
        echo "ls -l"
        sleep 2
        echo "get file"
        echo "quit"
} | ftp -n

seems to work ok.


Jason


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of eric clover
> Sent: Wednesday, March 14, 2001 10:33 AM
> To: [EMAIL PROTECTED]
> Subject: Re: how to ftp files automatically?
> 
> 
> at home i use sftp from the ssh package
> 
> eric
> 
> ----- Original Message ----- 
> 
> How do I automatically ftp file from one server to another with being
> anonymous.  I think I have to do a chat script or something?
> -eric
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to