Version 5 of fcopy

Updated 2004-07-08 17:12:41 by lwv

http://purl.org/tcl/home/man/tcl8.4/TclCmd/fcopy.htm

fcopy provides the developer the ability to copy data from an input channel to an output channel, either synchronously or in the background, using fileevents to schedule activity.


LV Does anyone have some sample code to demonstrate some tcl best practices concerning writing async code using fcopy to copy files ? Maybe for instance the example could loop through 3 machines doing an fcopy of a file like /tmp/motd?

What I'm after is some examples of the type of code doing error checking for things like machines not available, out of disk space, etc - all the sort of things that if one is trying to write a 'safe' application one would do.


Tcl syntax help - Arts and crafts of Tcl-Tk programming - Category Command