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 - Upload to physical folder

Upload to physical folder - upload your database file

In this tutorial we will explain how to do a file upload to a folder that is not relative to your site. This means that your folder can be located in a very different directory or disk on the server. An example of this is when you want to upload to your database.


Previous TutorialTutorials IndexNext Tutorial

How to do it

To upload to a physical folder you need to:

  1. Start with basic upload page

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

  2. Open the Pure ASP.NET Upload dialog

    Select the Pure ASP.NET Upload dialog by opening the Server Behaviors Panel. Select DMXzone -> Pure ASP.NET Upload.

  3. Choosing the variable folder
  4. When you need to use a variable folder, you can enter the full path - including the drive in the Upload Folder field. For example:

    "c:\databases"

    this will upload the files to this path on the server. You only need to setup the right security on this folder, for more info how to do this read the Setting the folder security on your server tutorial.

    You might also check the Prefix With Full Path option. This option will store the full path in your database (if you are saving the filename in a database). So it will be easy to retrieve a list of all files later on.

  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 be able to upload any file to a physical folder.

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.