Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPCompression.fll question
Message
From
24/11/2015 10:50:09
 
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:
01627846
Views:
75
>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
Next
Reply
Map
View

Click here to load this message in the networking platform