Back to Top
The nuts and bolts for
Creative web development

Pure ASP Upload Tutorials

To give you more inside knowledge of the working of the Pure ASP Upload, here you can read all the available online tutorials!

Pure ASP Upload - Restricting upload file types

Restricting upload file types

In this tutorial we will explain how to only allow specific files to be uploaded. You can restrict unwanted file types from being uploaded (depending on their extension).

Previous TutorialTutorials IndexNext Tutorial

How to do it

To make the file upload with restricted file types, you need to:

  1. Start with basic upload page

    Start with an upload page where you have Pure ASP Upload on it. If you haven't done it yet, go through the Simple file upload tutorial.

  2. Open the Pure ASP Upload dialog

    Select the Pure ASP Upload dialog by double clicking it on the Sever behaviors list.

  3. Select the Allowed Extensions
  4. When you need to restrict the uploaded files to specific number of extensions, you need to select the Allowed Extensions field.

    First choose the extensions type. All means no restriction, Images Only will fill in the most common image extensions and Custom will allow you to enter your own comma separated list of allowed extensions.

    In this example we've chosen to only allow our users to upload Images Only.

    So now you choose for example to upload Images Only

  5. Save and done
  6. Save your page and upload it to your server, and you are done! Go to your website and test it - you should only be able to upload images now.

Previous TutorialTutorials IndexNext Tutorial

George Petrov

George PetrovGeorge Petrov is a renowned software writer and developer whose extensive skills brought numerous extensions, articles and knowledge to the DMXzone- the online community for professional Adobe Dreamweaver users. His expertise in countless languages and technologies gives inspiration and teach valuable lessons on his website – which is most popular for its over high-quality Dreamweaver extensions and templates.

See All Postings From George Petrov >>

Share this Article