I am having code to download sis file on my web page.
when i download .sis file on PC it successfully and correctly downloaded .sis file.
But when i try to download that .sis file on mobile then it's not downloading complete .sis file.
////here is my code..
DownloadName = "MySISFile.sis";
FileInfo file = new FileInfo(Path);
if (file.Exists)
{
Response.Clear();
if (DownloadName.EndsWith(".sisx") || DownloadName.EndsWith(".sis"))
{
Response.Clear();
Response.ContentType = (DownloadName.EndsWith(".sisx") ? "x-epoc/x-sisx-app" : "application/vnd.symbian.install");
Response.AddHeader("Content-Disposition", "attachment; filename=" + file);
}
else
{
Response.ContentType = "application/octet-stream";
}
Response.WriteFile(file.FullName);