Welcome to the tutorials of Pure ASP.NET Upload.
What will you learn:
- How to create a file upload
- restrict certain files or sizes of files from being uploaded
- upload files and insert them in a database
- and much more...
What will you learn:
In this tutorial we will explain how to make an optional file upload.
To make an optional file upload, you need to:
Start with an upload page where you have Pure ASP.NET Upload on it. If you haven't done it yet, go through the Simple file upload tutorial.
Select the Pure ASP.NET Upload dialog by opening the Server Behaviors Panel. Select DMXzone - Pure ASP.NET Upload.
When you need to have an optional upload you only have to clear the Require Upload checkbox.
Then the users won't get a warning when they try to submit the page without specifing a file to upload.
Save your page and upload it to your server, and you are done! Go to your website and test it - you should be able to skip the file upload now.
George 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. The most popular for its over high-quality Dreamweaver extensions and templates.
George is also the founder of Wappler.io - the most Advanced Web & App Builder
Comments
Set FTP permissions using ASP?
How to set (FTP) permissions on certain folders using ASP?
I have no problems doing this in PHP.
How to do it in ASP?
(CHMOD 0777 then CHMOD 0755 after your'e done with the uplaod?)
Cheers
You must me logged in to write a comment.