Eggheads: Scripting help?

"M. Tolga Özses" mtozses at sabanciuniv.edu
Tue Jun 21 07:05:33 CST 2005


I don't see how that will help me with my request which is sending a 
specific file on a timed basis. It already contains the ftp protocol. 
What I'm looking for is how to use bind time in this script.

Regards,

Simon Shine wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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.
>
> http://tcllib.sourceforge.net/doc/ftp.html
>
> 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
> ::ftp::quit
>
> | 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
>
> - --
> Best regards,
> 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
>
> iD8DBQFCuA4E/2TMxHuu3igRAt4VAJ9AaW1hR8i/p1KI5WyO9Hrq3lkvQACggKmT
> 8HLi3nRFmrhGUx1zJARx+2Q=
> =kX2S
> -----END PGP SIGNATURE-----
>

-- 
M. Tolga Özses
Bilgi Teknolojisi Birimi
Sabancı Üniversitesi
Orhanlı 34956 Tuzla
İstanbul
Tel: (216) 483 91 98
Web: http://people.sabanciuniv.edu/mtozses




More information about the Eggheads mailing list