item2
Next»

contents

 

Introduction - 1

Background - 2

Deployment - 3

Starkits - 4

Tclkit - 5

Advanced topics - 6

Repositories - 7

Server apps - 8

Who uses this - 9

Examples - 10

Conclusion - 11

 

Acknowledgements

References

6.4 - Using the VFS from scripts

The TclVFS facilities used to implement the Starkit VFS are also available to application developers - and support a wide range of virtual filesystem types. For example, a script can mount .zip archives, ftp sites, http sites, webdav remote disks, Metakit databases, and even mount Tcl's proc namespaces as a filesystem.

For example, a zip file can be mounted as follows:

    % package require vfs
    % vfs::zip::Mount foo.zip foo.zip
    % cd foo.zip
    % glob *

or an ftp site

    % package require vfs
    % vfs::urltype::Mount ftp
    % glob -dir ftp://ftp.tcl.tk *

More details about the VFS and its use can be found at the Tclers Wiki pages for VFS [8] and TclVFS [23].

see also

Starkit Home Page

Tclkit Home Page

Metakit Home Page

SDX Utility

Wikit Home Page

Tclers' Wiki

Author's Website

Updated paper, by Steve Landers, as presented at Tcl/Tk 2002 conference - see also original PDF.

Papers & Presentations