Re: Download of large Files (gif / mmf / jad / jar)
Tobias Selig <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Bruno David Rodrigues wrote: >On Sat, 2002-06-15 at 16:05, Tobias Selig wrote: > > >>Hi everbody! >> Hi Bruno... >> >>Can anybody explain me, how the download of large files via wap >>is supposed to work? Many new mobile phones have nice features like >>polyphonic ringtones in smaf format or can accept gifanimations as >>background >>images as well as java midlets. >> >>As the size of files is limited to something around 15kb, i wonder how i >>can get around this limit? >> >>Is it enough to find the right code-spot in the kannel source? Or >>can i somehow set a WML-Link, which does not use the gateway and >>directly downloads the file via http connection. >> >> > >Uh ? kannel (or any other wap gw) won't touch the file if it ain't >a wml or wmlscript. >You can request a gif without problems. > WRONG!!! You can only request a gif file, if it doesn´t exceed 15KB.. and believe me, it´s hard to create a gif-animation with 128x128 pictures and more than 2 pictures within which is smaller than 15KB. I can try to get a log of the errormessage kannel spits out... >>Sorry for the maybe dumb question. But actually i really wonder how this >>should work. >> >>I assume that network providers will place an application server in >>their network >>for the java midlets.. But gif images and mmf files must go through the >>wap gateway. >> >>The question is: How? >> >> > >Just set up the application server (*) and http server and everything >should work. > >(*) I've seen an application server for java apps - to use with a >motorola aquaplain 008 - and it's only a http server with a xml index >somewhere in a /mot_download directory. Nothing special, but lots >of $$$ asked :P > My problem is not HOW to download, but HOW to get around the size limit of Kannel... Regardless wether it is smaf *.mmf.. or a midlet *.jar (ok *.jad to download).. If the size exceeds a certain limit, all i get is an error from the gateway. And i think it should be possible to set this size limit to 50kb ourdays. But maybe the WML spec forbids something like that, i´m no expert. Best Regards Tobias