About Tcl VFS


Tool command language or Tcl as it’s popularly known has several unique and appealing features which aren’t even popular among the long time TCL software developers. One of those important features is related to the Tcl VFS or Tcl Virtual File System. There’s nothing denying the fact that other languages also have libraries for easy access to the FTP or web sites, or even for peeking inside the zip files, but not each one of them provides an extensible and open-ended system enabling access to all such resources by employing the same input/output commands that you’d normally use with the regular disk files.

Software developers perform reading and writing operations on files pretty regularly. It’s a pretty common feature. Hence, programming languages are bound to provide commands that make this task easy. However, it isn’t so easy when you need to work with websites, zip files and other kinds of complicated resources. These require separate add-ons. This is where Tcl Virtual File System comes into the picture. It allows you to create all types of remote and/or local storage mechanisms just like the local files. Tcl VFS taps into the lowest possible level of the Tcl I/O system, making available all possible file commands in any environment that has the VFS driver (can be easily written in Tcl only, so anyone can add his/her own).

Following are few of the many file systems you can use:
- TAR files
- FTP sites
- Web sites
- Available Tcl commands
- WebDAV sites
- Native file system
- ZIP files