Re: Active State base-tcl8 vfs::ftp Error can't find package ftp



Anton Prokofiev <a.d.prokofiev@xxxxxxxxxxxxxx> 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@xxxxxxx>
<http://www.purl.org/NET/akupries/>
Developer @ <http://www.activestate.com/>
-------------------------------------------------------------------------------
.



Relevant Pages

  • Re: Something like Starkit
    ... Collect files into a single file with a Virtual File System (VFS). ... I was thinking of something similar for packages and package ...
    (comp.lang.forth)
  • Re: starkit, Thread, source, vfs
    ... I was able to get a similar crash on windows with a starkit, threads and multiple scans through the vfs. ... My problem was that within a thread we 'package require'd a package that had a conditional dependency on another package we didn't have. ...
    (comp.lang.tcl)
  • Re: Unzip in Tcl?
    ... Have you looked at the virtual file system obtained with ... package require vfs ... It allows you to mount the zip file anywhere in ...
    (comp.lang.tcl)
  • Re: starkit, Thread, source, vfs
    ... multiple scans through the vfs. ... told me he had a fix; not sure of the status of that fix, ... My problem was that within a thread we 'package require'd a package that ...
    (comp.lang.tcl)
  • Re: starkit, Thread, source, vfs
    ... multiple scans through the vfs. ... told me he had a fix; not sure of the status of that fix, ... My problem was that within a thread we 'package require'd a package that ...
    (comp.lang.tcl)