If you give it a try, let me know how it works out for you. I've already included it in a couple of projects. One zips up files from a desktop application and then uploads it to a web application, which unzips it and merges in the data. The second project, I'm using it as a backup mechanism and it zips up the files with a filename of "backup_" + YYYYMMDD(Date()) + TRANSFORM(INT(SECONDS()) + ".zip" name and then copy to a USB key. Pretty slick compared to the hassle that the users used to have to do.
-Kevin CULLY Technologies, LLC MB Software Solutions General Account wrote: > Kevin Cully wrote: >> I've posted the file on the upload page. Whenever Ed gets a chance, >> it'll be posted up there. >> >> In the ctCompression.prg file, are some example calls. I've tried to >> make sure that the program has no dependencies other than the >> VFPCompression.fll file itself. >> >> Methods: >> ZipFile() >> ZipFileList() >> ZipFolder() >> ZipString() >> UnzipFile() >> UnzipString() >> DirClear() >> FileSize() >> IsDirectory() >> >> I wish I had time to write some unit tests. That'd protect us from >> version changes, both in VFPCompression and with Windows changes. >> >> I wrote the program very defensively so it's cautious and should set a >> pretty good cErrorMsg property if there is an error. Let me know if >> this wrapper is helpful to you. >> >> -Kevin >> CULLY Technologies, LLC > > > I'll definitely have a look soon. I need to replace the current backup > method in FabMate with something better. Currently I use 7-zip but for > whatever reason, it doesn't always work. > > > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

