Last post Dec 08, 2008 04:34 AM by Guang-Ming Bian - MSFT
Dec 03, 2008 04:46 AM|shamestabrez|LINK
I am developing a mobile web application ,and want to give a feature to download wallpaper,ringtone from mobile device.
but i am unknown how to do this
give me some idea
Dec 05, 2008 04:58 AM|Guang-Ming Bian - MSFT|LINK
For how to download file from website, see the sample below:
It should be the same to desktop, if you still have any problem, please let me know.
Guang-Ming Bian - MSFT
Dec 05, 2008 07:49 AM|shamestabrez|LINK
Thanks for your post
but your provided code is not compile in C#
now i am write flowing code for save its work well except Exe file on mobile
Response.ContentType = "Exe";
Response.AddHeader("Content-Disposition", "attachment; filename=apa.exe");
Dec 08, 2008 04:34 AM|Guang-Ming Bian - MSFT|LINK
Hi shamestabrez ,
Firstly, ContentType is application/octet-stream, not exe.
For more information:
HOWTO: Allow file downloads (including .exe) on IIS 6.0
HOWTO: Allow file downloads (including .exe) on IIS 6.0, Part 2