Eggheads: Scripting help?

Tokeiito tokeiito at takas.lt
Tue Jun 21 07:19:36 CST 2005


http://ito.lietuvoje.lt/bin.txt

there is example. just check RTFM about time: "bind time * * * * *
smth"

where * * * * * is time when execute the script

Tokeiito

Tuesday, June 21, 2005, 4:05:33 PM, you wrote:

> 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-----
>>




-- 
Best regards,
 Tokeiito                            mailto:tokeiito at takas.lt





More information about the Eggheads mailing list