From: Anton Prokofiev on
Hello,All!
I've tried to use vfs::ftp

I use Active State's base-tk8.5-thread-linux-ix86
======
% package require vfs
1.4.1
% package require vfs::urltype
1.0
% package require vfs::zip
1.0.3
% package require vfs::ftp
can't find package ftp
%
======================

I've unwraped this file with sdx and got the following files in vfs
directory

ftpvfs.tcl
pkgIndex.tcl
tarvfs.tcl
tkvfs.tcl
vfsUtils.tcl
httpvfs.tcl
scripdoc.tcl
tclprocvfs.tcl
vfslib.tcl
webdavvfs.tcl
mk4vfs.tcl
starkit.tcl
testvfs.tcl
vfsUrl.tcl
zipvfs.tcl

So, file ftpvfs.tcl is present.

Any ideas?

Actually another question: Is someone use vfs::ftp to work with ftp
servers? or it was a bad idea?

Thanks, Anton Prokofiev








From: Andreas Kupries on
Anton Prokofiev <a.d.prokofiev(a)googlemail.com> writes:

> Hello,All!
> I've tried to use vfs::ftp
>
> I use Active State's base-tk8.5-thread-linux-ix86
> ======
> % package require vfs
> 1.4.1
> % package require vfs::urltype
> 1.0
> % package require vfs::zip
> 1.0.3
> % package require vfs::ftp
> can't find package ftp
> %
> ======================
>
> I've unwraped this file with sdx and got the following files in vfs
> directory
>
> ftpvfs.tcl
> pkgIndex.tcl
> [...]
> So, file ftpvfs.tcl is present.
> Any ideas?

The package is likely not declared in the pkgIndex.tcl. I should also
check if ftpvfs.tcl should be present in a basekit or not. Because
vfs::ftp alone is, IIRC, not enough on its own, it will require
tcllib's ftp package AFAIK.

> Actually another question: Is someone use vfs::ftp to work with ftp
> servers? or it was a bad idea?

--
So long,
Andreas Kupries <akupries(a)shaw.ca>
<http://www.purl.org/NET/akupries/>
Developer @ <http://www.activestate.com/>
-------------------------------------------------------------------------------