Re: revZip functions, compressing and extracting folder for transfer

2017-04-06 Thread Matt Maier via use-livecode
I pulled the zip archiving functions out of the Master Library stack. It worked...except that it truncated the first character of every filename in the archive. This is the offending code from the addFolderToArchive handler: put theFile into theArchiveItemName put offset(pRootFolderPath,

Re: revZip functions, compressing and extracting folder for transfer

2017-03-04 Thread Phil Davis via use-livecode
Here is a sanitized version of a simple zip library stack I use in projects. It keeps me from having to get down into the nuts and bolts every time I want to zip a file: https://www.dropbox.com/s/t8z27p8cy5ir1v9/libZip.livecode?dl=0 HTH - Phil Davis On 3/4/17 9:25 AM, Matt Maier via

Re: revZip functions, compressing and extracting folder for transfer

2017-03-04 Thread J. Landman Gay via use-livecode
On 3/4/17 11:25 AM, Matt Maier via use-livecode wrote: Is there an overview or tutorial on how to use the revZip functions? Under the Help menu, choose Sample Stacks and search for "revZip". There are a couple of stacks there. Also under the Help menu, choose Tutorials. There is one lesson

revZip functions, compressing and extracting folder for transfer

2017-03-04 Thread Matt Maier via use-livecode
Is there an overview or tutorial on how to use the revZip functions? Do I have to use each individual function to manually describe the process of creating and using a zip archive? Like, to create the archive, do I have to write my own code to open it, repeat for each file and/or each folder,