Ok.... it's me again (huge PHP-fan and ASP-newbie)
With ASPsmartUpload I can upload multiple files. Now I'd like to seperate these files one by one. In php it would be something like this:
so the files get (for example)
myFile1="PicOne.jpg"
myFile2="PicTwo.jpg"
myFile3="PicThree.jpg"
etc. etc.
How can I acchieve this in ASP? If there's a way with a FOR i=0 to 2 LOOP, that would be fine too (3-files is de maximum upload)
I was thinking something like
Any suggestions...? I'm getting out of idea's and samples for ASPsmartUpload don't help me at all...
Quasibobo
Don't eat yellow snow!
With ASPsmartUpload I can upload multiple files. Now I'd like to seperate these files one by one. In php it would be something like this:
Code:
$i=1
FOREACH (file AS myupload.Files)
{
myFile.$i=file.FileName
$i++
}
myFile1="PicOne.jpg"
myFile2="PicTwo.jpg"
myFile3="PicThree.jpg"
etc. etc.
How can I acchieve this in ASP? If there's a way with a FOR i=0 to 2 LOOP, that would be fine too (3-files is de maximum upload)
I was thinking something like
Code:
picInt=0
For each file In myupload.Files
myFile+picInt=file.FileName(picInt)
picInt=picInt+1
Next
Response.Write (myFile0 & " and " & myFile1& " and " & myFile2 & " are uploaded")
Any suggestions...? I'm getting out of idea's and samples for ASPsmartUpload don't help me at all...
Quasibobo
Don't eat yellow snow!