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 your own progress bars and use them with Pure ASP.NET Upload.
To make your own progress bar, you need to:
First you should make an html file that is to be shown as a progress bar. It is up to you what animations or visual progress you will put on it. You can use images, dhtml, flash - whatever you want.
In your html file you do need to have some very simple javascript functions. Those will be used by Pure ASP.NET Upload to read more info about your progress bar.
You will need the following three functions:
getProgressWindowSize
returns the size of the popup window where the progress bar is displayed. Enter a string with width and height.
Sample:
function getProgressWindowSize(){
return "300,100";
}
getProgressWindowTitle
returns the title of the progress bar. To be used in the Pure ASP.NET Upload choice list.
Sample:
function getProgressWindowTitle() {
return "Blue Flash Progress Bar";
}
getProgressWindowFiles
returns a comma separated list of all files needed for the upload to work. This includes the current html file.
Sample:
function getProgressWindowFiles() {
return "blueFlashProgress.htm,blue_progress.swf";
}
All files of your progress bar should be saved in the following folder:
\Dreamweaver UltraDev 4\Configuration\Shared\DMXzone\Pure ASP.NET Upload\Progress Bars\
Your progress bar is ready now. When you open the Pure ASP.NET Upload dialog, you will see your progress bar in the drop down list with of available progress bars.
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.