Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPCompression.fll question
Message
From
25/11/2015 10:45:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01627827
Message ID:
01627872
Views:
62
Yes. but the ZipFile function will return a .F. indicating that failed to add it to the zip file.

>If i remember correctly, VFPCompression.fll skips files that are open in shared use. Does that ring a bell?
>
>>>Anyone have a version of VfpCompression.fll where the ZipFolder method supports the exclusion of files in a specified folder based on a supplied list of file extensions?
>>
>>From a tool I created. Start by downloading my Query tool at http://www.GLRsoftware.com/download/query.zip. The following reads the files (FROM FILE), and creates a zip file (INTO ZIP). If the VFPcompression.fll is present, it is used.
>>
>>
>>
>>TEXT TO lcSQL NOSHOW TEXTMERGE
>>	SELECT * FROM FILE "prgs\*.*" ;
>>		WHERE NOT UPPER(JUSTEXT(Name)) IN ("FXP","BAK","ERR") ;
>>		INTO ZIP "test.zip"
>>ENDTEXT
>>? Query( lcSQL )
>>
>>
>>You may have to play with the SQL statement to get the desired results.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform