puts "Adding ftp:// volume..."
vfs::urltype::Mount ftp
-set listing [glob -dir ftp://ftp.scriptics.com/pub *]
-puts "ftp.scriptics.com/pub listing"
+set listing [glob -dir ftp://ftp.tcl.tk/pub *]
+puts "ftp.tcl.tk/pub listing"
puts "$listing"
puts "----"
puts "(file volumes is '[file volumes]')"
} {Mounted at "ftp://"}
test vfsUrl-1.2 {mount} {
- file exists ftp://ftp.scriptics.com
+ file exists ftp://ftp.tcl.tk
} {1}
test vfsUrl-1.3 {mounted volumes} {
test vfsUrl-2.1 {auto-mount ftp and copy file} {vfsWritable} {
file delete -force README.tclversions
- file copy ftp://ftp.scriptics.com/pub/tcl/README.tclversions $vfsTestDir
+ file copy ftp://ftp.tcl.tk/pub/tcl/README.tclversions $vfsTestDir
set to [file join $vfsTestDir README.tclversions]
if {[file exists $to]} {
if {[file size $to] < 800} {
} {ok}
test vfsUrl-2.2 {auto-mount bad ftp} {
- catch {file copy ftp://ftp.scriptxxics.com/pub/tcl/README.tclversions $vfsTestDir}
+ catch {file copy ftp://invalid.name.dom/pub/tcl/README.tclversions $vfsTestDir}
set to [file join $vfsTestDir README.tclversions]
if {[file exists $to]} {
set res "file shouldn't exist!"