Eggheads: Scripting help?
simon at shine.eu.org
Tue Jun 21 06:54:28 CST 2005
-----BEGIN PGP SIGNED MESSAGE-----
M. Tolga Özses wrote:
| At the address http://www.kunduz.org/~kabuto/sendftp.txt you will see a
| TCL script. I want it to FTP some file to my server on a timely basis. I
| tried to use bind time but I couldn't make it. Help me?
I would use tcllib's "ftp" package.
You might have it on your system, or you might have to download it.
package require ftp
set fd [::ftp::open $server $user $password]
::ftp::type $fd binary
::ftp::put $fd $localfile $remotefile
| P.S: I tried e-mailing the author, but it bounced back :(
If you're gonna be dumb, you gotta be tough
When you're gettin' knocked down, you gotta get back up.
~ Alan Wade
Simon Shine <http://shine.eu.org> GPG Key ID: 0x7BAEDE28
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Eggheads