Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 46
Product
FileUp
Version
2.x
Title
HOWTO: Create New Folder and Upload Multiple Files
Problem
This sample creates a new directory based upon a value that could be static but was designed to handle dynamic values. This dynamic value could be the next consecutive record ID in a database or a randomly generated alpha-numeric value generated through code (for example). If the directory already exisits, the default directory for uploads is a directory entitled, 'Backup'.

Once the directory is created, this sample handles all types of form variables (text, file, etc.) and as many of each as you would like to add. The code handles null values for file inputs with ease (the sample has 8 possible file inputs).

All valid file inputs are uploaded to the newly created directory.

Solution
Please download the following attachment.
You will find two files in the attachment:
  1. mult_upload.asp
  2. mult_response.asp
Attachments
Attachments/KB46_mult_fileup_create_dyndir.zip
Created : 12/1/2002 12:00:00 AM (last modified : 11/4/2002 10:43:13 AM)
Rate this article!
Comments