Pure ASP Upload 3 Support Product Page
Multi File Upload file attributes access
Asked 20 Feb 2010 03:23:06
1
has this question
20 Feb 2010 03:23:06 Mike Anderson posted:
I am using PAU3 with the flash multi file upload to allow the user to upload many files at once. I need to store the file name of each file in my database. However, I can't find a reference that will show me some example code for how to walk through the list of uploaded files in the pau object and store the file attributes in my database. The manual has an example for how to use dreamweaver to do it, but I can't get my version of dreamweaver to connect to my database, so I am writing the asp code by hand. Can you give me a code reference that would show me how to iterate through all of the files that were uploaded and get access to the filename, size, etc.
THANKS
MIKE
Replies
Replied 22 Feb 2010 11:06:24
22 Feb 2010 11:06:24 Miroslav Zografski replied:
Hello Mike,
In your DW open the Bindings panel which is next to the Server Behaviors and Databases panels and there you will see two groups - one is called Upload Form and has no members, the other is named Upload File(Filedata) and has a number of members like File Name, Upload Folder, content type , etc.
You can use those to bind to a specific field or server script in order to get the Filename ... of the uploaded files.
Regards,
In your DW open the Bindings panel which is next to the Server Behaviors and Databases panels and there you will see two groups - one is called Upload Form and has no members, the other is named Upload File(Filedata) and has a number of members like File Name, Upload Folder, content type , etc.
You can use those to bind to a specific field or server script in order to get the Filename ... of the uploaded files.
Regards,