dmitskevich
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2011
01:18 AM
Reading archive (gz,zip) on Roku
Dear Roku Developers,
is it possible to read data from an archive? Some xml files, which I want to download from internet are not available as .xml but as .xml.gz (this probably was done to save space and network traffic). I can download such file to Roku using roUrlTransfer:AsyncGetToFile, but how to read files from it (from .gz archive)?
is it possible to read data from an archive? Some xml files, which I want to download from internet are not available as .xml but as .xml.gz (this probably was done to save space and network traffic). I can download such file to Roku using roUrlTransfer:AsyncGetToFile, but how to read files from it (from .gz archive)?
2 REPLIES 2
dmitskevich
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2011
01:33 AM
Re: Reading archive (gz,zip) on Roku
In roku_sdk_v29\documents\ComponentReference.pdf is written that ifUrlTransfer has a method:
Boolean EnableEncodings(Boolean enable)
Enable gzip encoding of transfers.
Will it do the trick?
Boolean EnableEncodings(Boolean enable)
Enable gzip encoding of transfers.
Will it do the trick?
MrWalnut
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2020
04:08 AM
Re: Reading archive (gz,zip) on Roku
Is there a way to handle this issue yet? I was able to do the same thing with the help of JSZipUtils in JavaScript. When I do an AsyncGetRequest by rourltransfer to get the file and wait for the response, it simply prints out "PK???"