Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compression Syntax 2

Status
Not open for further replies.
My understanding is that Craig is aware of this.

There has been no comment as to when or whether it is to be fixed.

When I had previously downloaded it, there was a txt file with details. If you do not have it then please ask for specific info.
 
This is not a working example, just to give you the idea...

Code:
SET LIBRARY TO ("VFPCOMPRESSION.FLL")
m.FILECOUNT = ADIR(TMPFILES,m.DATALOCATION+"*.*")
IF m.FILECOUNT > 0
	ZIPOPEN("SOMETHING.ZIP",m.DATALOCATION, .F.)
	FOR I = 1 TO m.FILECOUNT
		ZIPFILE(m.DATALOCATION+TMPFILES[I,1], .F.)
	NEXT
	ZIPCLOSE()
ENDIF

Code:
SET LIBRARY TO ("VFPCOMPRESSION.FLL")
UNZIPOPEN(m.DATALOCATION+m.ZIPFILENAME)
m.FILECOUNT = UNZIPFILECOUNT()
UNZIPSETFOLDER(m.DATALOCATION)
FOR I = 0 TO m.FILECOUNT
	UNZIPBYINDEX(I,m.DATALOCATION,.T.)
NEXT I
UNZIPCLOSE()

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are not good for you.
 
You can get the most important usage to zip and unzip here:


Start the prg, locate the fll and and it will make a test run, creating a file, ziping it, unzipping the result zip and checking the result is correct.
Notify me, if you can't download, I set this file to be publicly available.

Bye, Olaf.
 
mplaza, that is exactly what I need. Thank you.

I always knew that someday he would take the website down. It is wrong to expect him to keep it running indefinitely. I'm just glad I was smart enough to download the FLLs years ago.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top