Click here to Skip to main content
13,295,953 members (53,370 online)
Rate this:
Please Sign up or sign in to vote.
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 22:45pm
kuti, ger1.1K
Upload is upload. How different file types can affect it, ever? Compare your codes in both cases...
kuti, ger 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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171207.1 | Last Updated 6 Aug 2012
Copyright © CodeProject, 1999-2017
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