Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. As for FileUpload control..

As for FileUpload control..

Scheduled Pinned Locked Moved ASP.NET
helpquestiontutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lsh486love
    wrote on last edited by
    #1

    Hi. I programmed a FileUpload which is already working fine. But, there is a problem. I'd like to allow all formats of files , for example, jpg, mpeg, mp3, zip, exe., but ".exe file format" can't be uploaded. When I upload a file with .exe format, it shows an error page. How can I allow all formats containing .exe?? Ah, Actually the .exe format file is an install file. Thank you.

    A 1 Reply Last reply
    0
    • L lsh486love

      Hi. I programmed a FileUpload which is already working fine. But, there is a problem. I'd like to allow all formats of files , for example, jpg, mpeg, mp3, zip, exe., but ".exe file format" can't be uploaded. When I upload a file with .exe format, it shows an error page. How can I allow all formats containing .exe?? Ah, Actually the .exe format file is an install file. Thank you.

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      Tell me what error page ur getting. AFAIK, file upload should allow exe to be uploaded. Might be some config settings are blocking in your server to upload exes. :(

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      My Latest Articles-->****
      InfoBox Visual Studio 2010 Extension
      Windows7 API Code Pack
      Simplify Code Using NDepend**

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups