Search the web
Sign In
New User? Sign Up
wmlprogramming · WML,XHTML,WURFL & Mobile-related stuff
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Mini HOWTO: Content downloading (including iPhone - preview)   Message List  
Reply | Forward Message #28691 of 31577 |
Re: Mini HOWTO: Content downloading (including iPhone - preview)

I'm using .NET so I added this before setting the content-type and
finally binarywrite-ing it:

Response.AddHeader("Content-Disposition",
"attachment;filename=""song.mp3""")

but it didn't work. Do you have any idea where could i have messed up?

Hertanto

--- In wmlprogramming@yahoogroups.com, "Juan Nin" <juanin@...> wrote:
>
> Verizon does not support direct content download.
> They use a kind of mix between Wap Push and MMS.
>
> You send a Wap Push to the phone, and then a Verizon Proxy connects to
> the URL with a fake user-agent emulating the phone (it's not the real
> user-agent, it's a user-agent by verizon, but most are already in
> WURFL), the proxy downloads the content and then pushes it to the
> phone.
>
> On this case you can and SHOULD use the "Content-Disposition" header
> to specify the filename.
>
> Regards,
>
> --
> Juan Nin
> 3Cinteractive / Mobilizing Great Brands
> http://www.3cinteractive.com
>
>
> On Tue, Sep 2, 2008 at 3:17 PM, hertanto_i <hertanto_i@...> wrote:
> >> So no "Content-Disposition" header must be sent, or some phones
> > won't > work.
> >> And you need a URL like "http://wap.mydomain.tld/get/ringtone.mp3"
> >> where you include the filename and extension, or some won't work
> >> either.
> >
> > How do you include the filename and extension for delivering binary
> > content, like for Verizon?
> >
> > Btw, thanks for all your help.
> >
> > Hertanto
> >
> >
>
>
>
> --
> Juan Nin
> 3Cinteractive / Mobilizing Great Brands
> http://www.3cinteractive.com
>





Wed Sep 24, 2008 12:21 am

hertanto_i
Offline Offline
Send Email Send Email

Forward
Message #28691 of 31577 |
Expand Messages Author Sort by Date

Some years ago I started a thread where i was having problems sending content to certain phones. I was "echoing" the content to the phones, and some phones...
Juan Nin
juan.nin_uy
Offline Send Email
Apr 1, 2008
6:30 pm

... I don't see any message yet, so here's my guess as to what he'll be talking about. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.2 ...
James Abley
taboozizi
Online Now Send Email
Apr 1, 2008
11:47 pm

... WMLprogrammers is moderated. Regular contributors are whitelisted. I don't moderate in my sleep. I just unleashed Juan's message and took the chance to add...
Luca Passani
luca_passani
Offline Send Email
Apr 2, 2008
9:50 am

Way to go. I am really curious to see them message from Juan Silva. Thanks a lot for shring. This is the spirit!!! Luca...
Luca Passani
luca_passani
Offline Send Email
Apr 2, 2008
9:27 am

Hello Juan, I had some problems esp. with SonyEricsson handsets, too. I am working with PHP and I found that if you are workings with sessions, PHP sends some ...
Peter Viergutz
peavey_182
Offline Send Email
Apr 2, 2008
11:24 am

yes, that's a good one I'm not using sessions on the content download site, but if you're it's a good idea to do this I think it was mentioned a couple of...
Juan Nin
juan.nin_uy
Offline Send Email
Sep 2, 2008
11:14 pm

What do you guys do with download descriptors? Do you guys still use OMA DD whenever possible? And what about in the case of carriers needing the use of gcd?...
hertanto_i
Offline Send Email
Sep 1, 2008
9:16 pm

Right now we're only using OMA DD for T-Mobile (when we know the phone supports it) who is more picky on everything and GCD on Sprint of course Altough I guess...
Juan Nin
juan.nin_uy
Offline Send Email
Sep 1, 2008
9:22 pm

... won't > work. ... How do you include the filename and extension for delivering binary content, like for Verizon? Btw, thanks for all your help. Hertanto...
hertanto_i
Offline Send Email
Sep 2, 2008
6:17 pm

Verizon does not support direct content download. They use a kind of mix between Wap Push and MMS. You send a Wap Push to the phone, and then a Verizon Proxy...
Juan Nin
juan.nin_uy
Offline Send Email
Sep 2, 2008
11:20 pm

Thanks so much! I will use "Content-Disposition" like you said....
hertanto_i
Offline Send Email
Sep 2, 2008
11:50 pm

I'm using .NET so I added this before setting the content-type and finally binarywrite-ing it: Response.AddHeader("Content-Disposition", ...
hertanto_i
Offline Send Email
Sep 24, 2008
12:21 am

what about mime type? are you sending it too?...
copluk@...
mobivid
Offline Send Email
Sep 24, 2008
7:33 am

hi all, I'm not sure whether this is appropriate, just wanna share. got the idea from this mailing list saying it's not a good practical to serve content by...
Sayuti Chow
sayuti.chow
Online Now Send Email
Sep 24, 2008
8:02 am

some times you have to use server side scripting to serve the content. i.e leach protection or protection against re-download of paid content etc....
copluk@...
mobivid
Offline Send Email
Sep 24, 2008
8:19 am

use wurfl database, as it is "worldwide supporting" every updates of new UA. tq ... [Non-text portions of this message have been removed]...
Bambang Sadikin ì...
ptvascomproject@...
Send Email
Sep 24, 2008
4:44 pm

What do you mean by mime type? If you're referring to content-type, then yes, i am setting the content-type header too. Btw, to be clear, the content delivery...
hertanto_i
Offline Send Email
Sep 24, 2008
3:45 pm

i use server side code to deliver content all the time and my exprience is that file name header doesnt get picked up with some phone browsers . if thats the...
copluk@...
mobivid
Offline Send Email
Sep 24, 2008
4:09 pm

Thanks for the reply but I'm actually talking about sending binary content to Verizon phones which, like Juan Nin said on previous posts, is a little bit...
hertanto_i
Offline Send Email
Sep 24, 2008
4:17 pm

sorry i have no exprience with verizon but as far as i can see from my server logs there are many users from verizon that can access and download, but again, i...
copluk@...
mobivid
Offline Send Email
Sep 24, 2008
4:33 pm

why do you have so many quotes around song.mp3? should be: Response.AddHeader("Content-Disposition","attachment;filename=\"song.mp3\""); or something like: ...
Juan Nin
juan.nin_uy
Offline Send Email
Oct 1, 2008
12:48 pm

It's because I'm using VB .NET and to have " inside a string in VB .NET, you need to use "". \" is for C#. Then again, are you sure HTTP headers is not being...
hertanto_i
Offline Send Email
Oct 8, 2008
12:53 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help