Prev: How to change fg color of specific words in a text widget
Next: blt-20100206.tar.gz on ftp://www.tcl.tk/pub/tcl/nightly-cvs/
From: Anton Prokofiev on 25 Feb 2010 04:35 On 25 Feb., 07:25, Andreas Kupries <akupr...(a)shaw.ca> wrote: > Anton Prokofiev <a.d.prokof...(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 <akupr...(a)shaw.ca> > <http://www.purl.org/NET/akupries/> > Developer @ <http://www.activestate.com/> > ------------------------------------------------------------------------------- Hello! Thanks for fast reply. I've checked: package ftp not included. I've managed to add it.... but it also require package log, that also not included. After I've added these too packages it looks OK. Few conserns: 1. I've used packages from tcllib-1.12 (downloaded from http://sourceforge.net/projects/tcllib/files/tcllib/1.12/) 2. Added ftp and log packages into lib directory 3. modified teaport_provided.txt. Add following lines Package log 1.3 Meta Platform tcl Package ftp 2.4.9 Meta Platform tcl After these manipulations it looks like it works :) OK, I've just tested it under windows, I could do test under linux later. Under windows I've used base-tcl8.5-thread-win32-ix86.exe Is it possible to get it in standard distribution? Buy, Anton Prokofiev |