Bonjour Tiemo,
Le 28 nov. 08 à 11:04, Tiemo Hollmann TB a écrit :
Hello,
1. after downloading a rev-compressed binfile from the internet with:
load url pUrl
I want to decompress it with:
put decompress(URL pUrl) into URL ("binfile:" & pTarget)
pUrl is something like: http://www.mydomain/myBinFile.gz
I get the error "decompress: string is not compressed data"
What am I doing wrong? Is the loaded URL already uncompressed or
can't I
decompress a loaded Url (no, Eric does it in his great tutorial)
Handle all cases with a try structure:
try
put decompress(url pUrl) into tData
catch tErr
end try
<do what you want with tData>
2. Is it possible to compress a folder with multiple files with rev? I
didn't succeded.
In this case, use revZip commands and functions.
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/
----------------------------------------------------------------
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution