Hi folks, Is it possible to store zip files temporarily within Revolution - and extract their (XML file) contents - rather than use local disk?
Part of a web service integration I'm working on requires the download of a zip file containing one or more XML files. I'm trying to avoid any installation footprint on the client machine outside the web plug-in. Is there anything I can do within Rev on the client PC or would I need to manage the zip file extracts on my own web server using a Revolution CGI routine?
Any ideas gratefully received.
Best,
Keith..
Virtual zip file storage within Revolution?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Virtual zip file storage within Revolution?
Possibly - depends on how the file was zipped. If it's gzipped then you can use the compress/decompress functions. Otherwise you'll have to use the revZip functions with a "real" file. I do this by creating a temporary file with the tempname() function, storing the zip file there, then deleting the temporary file when I'm done.
Re: Virtual zip file storage within Revolution?
Mark, Thanks for the response and the tempName() function tip - it's definitely a real zip file I'm grappling with. (Strange that there is no mention of this temporary folder/file capability in the Revolution user guide under special folders, as it's really useful to know and nigh-on impossible to find without knowing what the function is called.)
Best,
Keith..
Best,
Keith..