-
ftp::List returns a different result when called with "" and ".". I modified ftpvfs.tcl:
proc vfs::ftp::cachedList {fd dir} {
variable cacheList
variable cacheListingsFor
if { ![string compare $dir .] } {
set dir {}
}
# Caches response to prevent going back to the ftp server
# for common use cases: foreach {f} [glob *] { file stat $f s }
if...
2010-01-02 18:22:08 UTC by johnroll
-
blacksqr committed patchset 341 of module tclvfs to the TclVfs CVS repository, changing 3 files.
2009-10-20 08:16:36 UTC by blacksqr
-
blacksqr committed patchset 340 of module tclvfs to the TclVfs CVS repository, changing 3 files.
2009-10-16 05:40:13 UTC by blacksqr
-
When [glob]bing a filesystem, it is the
[matchindirectory] command of a tclvfs
driver that does the work.
The matchindirectory commands of
ftpvfs, mk4vfs, tarvfs, webdavvfs, and
zipvfs all build up their return lists by
[lappend]ing the return of a
[file join $actualpath ].
If begins with ~ then the
behavior of [file join] will result in the
$actualpath pref.
2009-08-20 20:30:54 UTC by dgp
-
andreas_kupries committed patchset 339 of module tclvfs to the TclVfs CVS repository, changing 3 files.
2009-07-06 17:00:19 UTC by andreas_kupries