ftpput script: perl ?

Peter L. Peres plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Tue Apr 20 17:28:17 UTC 2004


On Tue, 20 Apr 2004, Lennart Sorensen wrote:

> On Sat, Apr 17, 2004 at 10:49:28PM +0300, Peter L. Peres wrote:
> > Hi, I wrote a small ftp upload script in tcl (without using expect). Now
> > I'm looking for a perl equivalent. The script should be small and if
> > possible implemented natively (no imported modules). Is there such a thing
> > ?
>
> Why not use ncftpput from a shell or perl script?  Seems simpler than
> trying to implement something that speks the dreadful ftp protocol.

The tclsh program I wrote already speaks the 'dreadful ftp protocol',
which btw, imho, is less dreadful than other abominations, such as smtp
and pop3, and the point is of course to learn how it's done properly.

Peter
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list