Pure ASP.NET Upload for Dreamweaver MX

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...

Pure ASP.NET Upload - Make your own Progress Bars

Making your own Progress Bars

In this tutorial we will explain how to make your own progress bars and use them with Pure ASP.NET Upload.


Previous TutorialTutorials IndexTutorials Index

How to do it

To make your own progress bar, you need to:

  1. Build the progress file

    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.

  2. Required javascript functions
  3. 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";
    }

  4. Save in the special folder
  5. 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\

  6. Done
  7. 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.

Previous TutorialTutorials IndexTutorials Index

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. 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

See All Postings From George Petrov >>

Comments

Set FTP permissions using ASP?

March 31, 2008 by student 101

 

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.