This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

FTP in TCL

Old posts that have not been replied to for several years.
Locked
B
BiLL
Halfop
Posts: 78
Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany

FTP in TCL

Post by BiLL »

Heyya,

I would know if it's possible to implented some FTP functions in TCL.
What do I need ? Are there any EXAMPLE scripts out (except sendftp). I wanted to do a script which connects to a special ftp server - puts a raw command like: site help - grabs the output into a special variable and disconnects then. Is there any way to do this? Can anyone post me an example script for this? Would be great.
Thanks.
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

it would require abit more than just an example...
I started making an ftp-client in tcl, it has nothing to do with eggdrop, but it might give you an idea of how to do it.. let me know if you want the code
Elen sila lúmenn' omentielvo
User avatar
Dereckson
Voice
Posts: 20
Joined: Thu May 30, 2002 8:00 pm
Location: Belgium
Contact:

Post by Dereckson »

The excellent tcllib includes a FTP package to add FTP manipulation to TCL.

The list of commands (and help) is on http://tcllib.sourceforge.net/doc/ftp.html

You can download tcllib on sourceforge :
Sébastien Santoro
Locked