Complete.Org: Mailing Lists: Archives: discussion: August 1999:
Re: [aclug-L] Scropt help
Home

Re: [aclug-L] Scropt help

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: Re: [aclug-L] Scropt help
From: Dale W Hodge <dwh@xxxxxxxx>
Date: Mon, 16 Aug 1999 22:47:02 -0500 (CDT)
Reply-to: aclug-L@xxxxxxxxxxxx

On Mon, 16 Aug 1999, Wayne White wrote:

> I would like to automate the uploading of a file to a ftp
> site with a script. 
> 
> I have worked out how to generate the file, but can't figure
> out how to connect to the ftp site, send username and password
> and then execute the commands to upload the file and disconnect.
> 
> I'm suspect that a shell script could handle this. I've been able 
> to script the connection, but how would you then get it to send
> the subsequent required informatin and commands.
> 
> Is there a how-to that would explain this? If not could someone
> get me looking in the right direction for the knowledge I need?

Try looking at ncftpput.  It's designed for unattended batch FTP. I use it
to update my .plan on my ISP to show my current IP address.  It's part of
the ncftp package available on Debian and I supspect most other major
distributions....


   __   _
  / /  (_)__  __ ____  __
 / /__/ / _ \/ // /\ \/ /  . . .  t h e   c h o i c e   o f   a
/____/_/_//_/\_,_/ /_/\_\              G N U   g e n e r a t i o n . . .


[Prev in Thread] Current Thread [Next in Thread]