Welcome,
Guest
. Please
login
or
register
.
09 February , 2012, 03:39:57
Home
Help
Search
Login
Register
Kuneri Forum
»
MOBILE
»
KuneriLite
»
Commercial
(Moderators:
C00L
,
KL Admin
) »
Unzip not working on a downloaded file
Pages: [
1
]
« previous
next »
Print
Author
Topic: Unzip not working on a downloaded file (Read 3915 times)
0 Members and 1 Guest are viewing this topic.
rferrolho
Newbie
Posts: 9
Unzip not working on a downloaded file
«
on:
09 July , 2009, 09:00:41 »
Hi,
I'm using the commercial version of Kuneri Lite and I'm trying to unzip a file after downloading it (all inside my application), but the unzip command does not seem to be working. Here's the code:
loadVariables(_root.kuneriPath + "file?klCommand=unzip&klFile=update.zip&klPath=Database\\", "");
klError is returning 0, so it should unzip the file.
I also noticed that
the file plugin stops working here
(I append entries to a log file (txt) and after this attempt it does not work anymore).
If I download the file
on a computer, everything works ok
(tested on Windows Vista and Mac OS X Leopard), but on the Nokia's application (G-Zip) it says the (zip) file (downloaded with Kuneri Lite plugins) is corrupt. Is it the download plugin that's not creating the file correctly?
Regards.
Logged
KL Admin
Moderator
Sr. Member
Posts: 313
Re: Unzip not working on a downloaded file
«
Reply #1 on:
29 July , 2009, 03:22:48 »
Hi,
Do check that the file is downloaded 100% before unzipping? You can use klcommand=status command.
Logged
rferrolho
Newbie
Posts: 9
Re: Unzip not working on a downloaded file
«
Reply #2 on:
29 July , 2009, 06:07:40 »
Yes, I also show the progress and "block" the application while the file is downloading.
I've also tested with a Zip file that I've put on the folder of the application and it does not work as well.
Logged
rferrolho
Newbie
Posts: 9
Re: Unzip not working on a downloaded file
«
Reply #3 on:
31 July , 2009, 01:55:26 »
I added some frames between the moment "complete" is received and the unzip start and it works. It seems that the file was still in use.
But now...
After unzipping the file, I try to delete it and it fails because it is still in use, even after the extraction is complete. Any idea of how to "release" the file?
Thanks.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
GENERAL
-----------------------------
=> News & events
=> Discussions
-----------------------------
MOBILE
-----------------------------
=> Flash Lite
=> KuneriLite
===> Commercial
=> SWFPack
Loading...