chipp at chipp.com
Fri Jun 28 15:01:01 EDT 2002
Ben et al.
Thanks for the help, but...
I put the following into a one-button stack:
put compress(URL "file:C:/test.bmp") into URL "binfile:C:/test.gz"
Then tried opening it with the latest version of WinZip. It prompted me for
the full name of the file, then uncompressed it. Then I tried to launch the
test.bmp with several different image editors, with no luck. Photoshop says:
"Could not open the document because the file-format module cannot parse the
Any other ideas on how to make this work????
> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ben
> Sent: Friday, June 28, 2002 5:26 AM
> To: use-revolution at lists.runrev.com
> Subject: Re: zip command?
> on 28/6/02 5:04 am, Jeanne A. E. DeVoto at jeanne at runrev.com wrote:
> > At 8:58 PM -0700 6/27/2002, Chipp Walters wrote:
> >> Does anyone know if it's possible to ZIP files in RR? I want to take a
> >> folder of files and create a single .zip file. I know you can
> compress them
> >> to memory, but don't know if you can save the compressed stuff
> into a file.
> > put compress(field "Outgoing") into URL "file:data.gz"
> Jeanne meant to write:
> put compress(field "Outgoing") into URL "binfile:data.gz"
> ("file:" means treat the data as text, which means some bytes may get
> changed to reflect different line endings on particular platforms. You
> don't want a hair on your data's head to be modified, so you need to use
> "binfile:" to specify that.)
> Ben Rubinstein | Email: benr_mc at cogapp.com
> Cognitive Applications Ltd | Phone: +44 (0)1273-821600
> http://www.cogapp.com | Fax : +44 (0)1273-728866
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode