ZIP / UNZIP

Solved a problem in an elegant manner and want to show off your code? Know a hard-to-find feature? Post it here for the benefit of others. Questions don't belong here.
steve
Posts: 486
Joined: Wed Nov 30, 2011 10:20 pm
Been thanked: 128 times

ZIP / UNZIP

Post by steve »

ZIP(<zip file name>,<folder to zip>)
UNZIP(<zip file name>,<folder to unzip into>)
LISTZIP(<zip file name>)
(3.3.1)

Created to zip or unzip files sent or received via webservices to and from the Land Registry, but may be useful elsewhere.

LISTZIP(<zip file name>)
RETURN-VALUE is either Pipe separated list of files contained in ZIP file or an error message.
RETURN-STATUE = OK or ERROR

VSLaw
Posts: 4
Joined: Tue Jan 02, 2018 3:50 pm
Has thanked: 2 times
Been thanked: 1 time

Re: ZIP / UNZIP

Post by VSLaw »

Did Eclipse pass out this info in a release note?

steve
Posts: 486
Joined: Wed Nov 30, 2011 10:20 pm
Been thanked: 128 times

Re: ZIP / UNZIP

Post by steve »

yes, 3.3.1 release notes

CELRY
Posts: 5
Joined: Wed Feb 02, 2022 9:13 am
Been thanked: 1 time

Re: ZIP / UNZIP

Post by CELRY »

Has anyone got this working so it actually unzips a into a folder? I have the below and the messages return the list of files in the ZIP and an OK message but nothing appears in the file path.

Code: Select all

UNZIP( v-filePath , v-unzippedPath ) 
MESSAGE( return-value ) 
MESSAGE( return-state ) 

CELRY
Posts: 5
Joined: Wed Feb 02, 2022 9:13 am
Been thanked: 1 time

Re: ZIP / UNZIP

Post by CELRY »

CELRY wrote:
Fri May 13, 2022 10:30 am
Has anyone got this working so it actually unzips a into a folder? I have the below and the messages return the list of files in the ZIP and an OK message but nothing appears in the file path.

Code: Select all

UNZIP( v-filePath , v-unzippedPath ) 
MESSAGE( return-value ) 
MESSAGE( return-state ) 
I ended up sorting this, incase anyone struggles like me, make sure your file path doesn't contain spaces in any of the folder names.