# Friday, February 22, 2008

VFPCompression Update

This update contains fixes to problems surrounding relative paths when compressing folders and files that are not relative to one another or the zip file being created. Previous to this version developers needed to send in .T. for the lIgnorePath parameter when calling functions in order to zip files and folders that were not relative. This was not an acceptable workaround as the relative pathing for subfolders would then be ignored as well. This has been a stumbling block for some in implementing this FLL, so I am glad it is finally fixed and sorry that it took so long for me to address this problem.

Special thanks go out to Sergey Berezniker and Elliot Selick. They independently reported the relative pathing issues and helped with testing once I had addressed the issues.

Sample code for using the library and the library documentation can be found in my previous post. Here's the customary download link...

VFP Compression Update:

VFPCompression FLL Download (35 KB approx.)

 

Friday, February 22, 2008 1:35:29 PM (GMT Standard Time, UTC+00:00)  #    Comments [7]
Sunday, February 24, 2008 9:01:45 AM (GMT Standard Time, UTC+00:00)
When I create a zip file I define a comment. Can we have functions to set and get the comment for the zip file. And while your at it can you add ability to define comment for a file being zipped (I don't do that).
Ken Knorr
Wednesday, March 12, 2008 4:56:30 AM (GMT Standard Time, UTC+00:00)
Hi Craig

Your library is absolutely make my day, thank a lot

but can I create a split zip with this library?
I just have a project order with in need of that ability

sorry if my english is hard to understand
I'm not a native english speaker please correct me if I made any mistake
Persona
Friday, May 02, 2008 2:18:05 PM (GMT Daylight Time, UTC+01:00)
absolutely wonderful... another great tool made available by a great developer!!! thanks a bunch!!!
cj
Friday, August 08, 2008 8:24:56 PM (GMT Daylight Time, UTC+01:00)
Hi Craig--first, let me say thanks for the great tools that you have provided to the VFP community. Second, I found a small quirk with the vfpcompression.fll. I was using the ZipFolder function, and I could not get it to respect my relative paths regardless of what I passed for the lIgnorePaths parameter. I finally found that when I removed the trailing backslash from the folder path, it works correctly.
Jon
Friday, August 22, 2008 5:29:32 PM (GMT Daylight Time, UTC+01:00)
VFPCompression.Fll is a very nice tool.

Does VFPCompression.fll require the installation of any compression software OR does it utilize its own compression routine?

Can I freely distribute the FLL with my applications?

pmg
Wednesday, September 24, 2008 7:22:02 PM (GMT Daylight Time, UTC+01:00)
Thanks, Craig. The relative pathing problem was preventing me from using this tool as much as I'd like. How can I keep up with updates? I don't really subscribe to blogs - it's just too distracting and I have enough distractions already. It would be nice to subscribe to updates for particular things.
Russell Campbell
Monday, September 29, 2008 12:34:27 PM (GMT Daylight Time, UTC+01:00)
Dear Sir,

My question is, I want to unzip selected files eg. If abc.zip file have 1.dbf,2.dbf,3.dbf,4.dbf how can i unzip only 2.dbf & 4.dbf {In pkunzip u just issue > pkunzip abc.zip 3.dbf 4.dbf}

Please mail me with example

set library to vfpcompression.fll
=UnzipQuick("c:\abc.zip","c:\rough\",.f.)
set library to




With regard
Anup Singh
(M.D.)
MARG Compusoft Pvt. Ltd.
All comments require the approval of the site owner before being displayed.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview

 

Archive

<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910