??FileSystemObject?? and Multiple File uploads with VB.NET and ASP.NET
Posted on 2003-03-10
This is the scenario:
A website has many photo galleries of major events in it. These galleries consist of a table with gallery info and another table with image filename linking these images to the gallery. No brainpower needed to understand that part....
The physical images are being stored on the web server in a file system structure like the following:
"xxxxx.jpg" is the physical filename of the pic
"2003-02-28" is the date of the gallery
"galleryname" is the venue where the event happened
I now have various photographers which after their events they covered, go online, enter the event details which gets saved on the DB, and then they manually upload all picture files and manually create the folder above (via ftp). (just the date and galleryname parts).
1. Can this folder creation be automated WITHOUT completely comprimising security?
2. Can you have something where the user just lets say supply a folder name containing all local pics to upload, and then have the script automatically upload them to the server. So far I could just see how you MUST have a HTMLInputFile control for every file you want to upload. I need this to be variable as they can have 10, 20 and in most case over 50 to 100 photos to upload for one event.
3. In addition to this, I want them to be able to supply me with a "branding" filename, which will be a gif or jpeg, to be MERGED with the file being uploaded. This is for when an advertiser sponsored an event and we want his logo to appear on all pics. How do I do this?
I realise there is like 3 different questions here, but they all go hand in hand I think.
500 points up for grabs here, and if need be, if many ppl answer, when getting to an answer, i will award more point to ppl that helped.
(will split in 200 points for each answer if multiple ppl answer the different points)