MTDW005: Simple Upload to Folder - Tutorial

Introduction

Clicking on the downloaded file will install the Simple Upload to Folder extensions. You will need to restart Dreamweaver to access it.

  • Next open or create an ASP.Net page (C# or VB).
  • Point the cursor to were you want the upload control.
  • Then access the extension through the server behaviours panel.
  • You will then see the dialogue box. Complete or select each of the options (see below) and you will have a working upload facility on your website.

Here is one (non-functioning) that we prepared earlier.

Options

There are a number of options that you are presented with in the pop-up server box. For each we have given a brief description.

NB: You must have appropriate read / write permissions for users set on the server folder you wish to upload to.

  1. Physical Upload Folder Path - this is the actual path on the server to the upload path. This would allow you to upload files to a folder outside the web server if required (e.g. for security reasons). You can find this path using our Server & Browser Information Suite. The format will be: C:\inetpub\wwwroot\mysite\uploads\
  2. Success Message - the wording you require when a file has been uploaded successfully
  3. File Already Exists Message - if you have opted (see below) not to automatically overwrite files then you will get this message if the user tries to upload a file with a name that already exists on the server.
  4. Upload Instruction Text
  5. Upload Button Text
  6. Upload Box Size - the size of the visible text box for the file name
  7. Show Overwrite Textbox - allows the user the option to overwrite files if you select the "true" option.
  8. Overwrite Checkbox Text

Notes

  1. ASP.NET's default settings allow only files that are 4,096 kb (4 MB) or less to be uploaded to the Web server. To upload larger files you will need to edit your Web.config file.

 

...