Working with ZIP files
From: Rob Strover (dislexic_wobmat_at_NOSPAMyahoo.com.invalid)
Date: 07/30/04
- Previous message: Victor Wagner: "Re: Tcl/Tk 8.4.7 Release Announcement"
- Next in thread: Bob Techentin: "Re: Working with ZIP files"
- Reply: Bob Techentin: "Re: Working with ZIP files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jul 2004 15:54:15 GMT
Using Tcl I want to be able to read from and write to zip files which may
contain encrypted data (zip 2.0 compatible only).
I've looked at vsf::zip which looks very good, but seems to be read-only and
doesn't pass much info on the files contained inside the zip file back so it
can be used within Tcl code. Also, vsf::zip doesn't appear to cater for
where files in the zip file are encrypted.
Is there any work going on to make vsf::zip handle writing to zip files and
handle encryption? Are there other packages which I should be looking at to
get the features I want?
I'm trying to get my head around how the vsf::zip code works and what would
need to be changed to include encryption, etc..
My lack of experience with C is not helping the process of doing this, but I
can read it <slowly>.
Any advice on ways to make the package include some or all of my
requirements would be appreciated. I'm an experienced programmer, but am
still fairly new to Tcl .
My other thought was to somehow use the DLLs from the Info-Zip project to
provide the required functionality. In the past I've used these DLLs from
Visual Basic code, so it's not totally new territory to me. Am I correct my
understanding that a module written in C is needed to handle communication
between Tcl code and the DLLs? If so, is any documentation available to
help me begin writing such a module?
At present I'm working on Win 98 & XP, but also have access to Linux and
would like my project to work there as well with as little change as
possible.
TIA
Rob.
- Previous message: Victor Wagner: "Re: Tcl/Tk 8.4.7 Release Announcement"
- Next in thread: Bob Techentin: "Re: Working with ZIP files"
- Reply: Bob Techentin: "Re: Working with ZIP files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|