Eggheads: Scripting help?
tokeiito at takas.lt
Tue Jun 21 07:19:36 CST 2005
there is example. just check RTFM about time: "bind time * * * * *
where * * * * * is time when execute the script
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.
> 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.
>> 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
>> - --
>> 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
>> -----END PGP SIGNATURE-----
Tokeiito mailto:tokeiito at takas.lt
More information about the Eggheads