AW: AW: need help for decompress URL

Tiemo Hollmann TB toolbook at kestner.de
Fri Nov 28 05:54:48 EST 2008


Hmmm, perhaps I am looking at the wrong end of the lane. The file I
downloaded with load pUrl was compressed before with:
put compress(URL ("binfile:" & it)) into URL ("binfile:" & it & ".gz")
and then uploaded.
Do you see here the fault, which could led to this "not compresd data"
error?
Thank you and enjoy your turkey :)
Tiemo	

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Eric Chatonet
> Gesendet: Freitag, 28. November 2008 11:48
> An: How to use Revolution
> Betreff: Re: AW: need help for decompress URL
> 
> Happy Thanksgiving Tiemo ;-)
> 
> Le 28 nov. 08 à 11:42, Tiemo Hollmann TB a écrit :
> 
> > I am glad you don't have Thanksgiving in France and you are not off :)
> > If I parse the catch Error I get the same as before: " Error
> > description:
> > decompress: string is not compressed data", which leaves me lost
> > with my
> > original problem.
> 
> Yes if data are not compressed tErr will contain "Error description:
> decompress: string is not compressed data"
> And data will not be decompressed because they are not.
> But your code will not throw an error.
> Using such a try structure, data will be decompressed if thy are and
> not if they are not: that's all :-)
> 
> > So what could get wrong with my statements or data if it is a
> > binfile, which
> > is in the internet after I did a load pUrl?
> > put decompress(url pUrl) into tData
> >
> > Is the load pUrl so unreliable? Should I switch again back to put
> > URL into
> > URL?
> 
> load url is very very reliable: track your own errors :-)
> Data you want to download do not seem to have been compressed first
> before uploading them.
> 
> Best regards from Paris,
> Eric Chatonet.
> ----------------------------------------------------------------
> Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
> Email: eric.chatonet at sosmartsoftware.com/
> ----------------------------------------------------------------
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list