Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET iPhone
Hey together,
 
i want to have a upload area for apps(iPhone) in a ASP.NET page. The .plist file is no problem, but when i want to upload the .ipa file, the browser shows 'Webpage not found'.
 
<asp:FileUpload ID="FileUpload_App" runat="server" /><br />
<asp:Button ID="Button_AddAppUpload" runat="server" Text="Add App" OnClick="Button_AddAppUpload_OnClick" />
public String tempApps = "someString";
protected void Button_AddAppUpload_OnClick(object sender, EventArgs e)
{
  if (FileUpload_App.HasFile)
    {
       FileUpload_App.PostedFile.SaveAs(tempApps + FileUpload_App.FileName);//breakpoint
    }
}
 
I don´t have any idea, can someone help me and explain this behavior to me? Is it the fileupload causing my problem or is it the ipa-file itself, cause the breakpoint in the method Button_AddAppUpload_OnClick is not reached.
Posted 5-Aug-12 21:45pm
kuti, ger1.1K
Comments
Sergey Alexandrovich Kryukov at 6-Aug-12 13:10pm
   
Upload is upload. How different file types can affect it, ever? Compare your codes in both cases...
--SA
kuti, ger at 7-Aug-12 1:23am
   
It is one method, one simple coding line for one upload control. Nothing else. And all filetypes(png,doc,pfd,exe,plist,...)can be uploaded except .ipa.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,656
1 Sergey Alexandrovich Kryukov 6,490
2 CPallini 5,310
3 George Jonsson 3,584
4 Gihan Liyanage 2,650


Advertise | Privacy | Mobile
Web01 | 2.8.140921.1 | Last Updated 6 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100