hjælp til upload script
<html><form method="post" action="default.asp" ENCTYPE="multipart/form-data">
<input type="file" name="file" size="80"><br>
<select name="folder">
<option value="test1" name="test1">test1</option>
<option value="test2" name="test2">test2</option>
</select>
<input type="submit" value="upload">
</form>
</html>
<%
Dim uploadobj, file, filename, maxsize, folder
maxsize = 50*1000*1000
Set uploadobj = Server.CreateObject("aspSmartUpload.SmartUpload")
uploadobj.MaxFileSize = maxsize
uploadobj.Upload
For Each file In uploadobj.Files
If Not file.IsMissing Then
filename = "folders/" & file.filename
file.SaveAs(filename)
If Err.Number = 0 Then
response.write(file.filename & " blev uploadet<br>")
Else
response.write(file.filname & " blev ikke uploadet<br>")
End if
End If
Next
uploadobj.Form("folder")
%>
har det der script vil gerne have så at det option felt der hedder folder bestemmer hvilken mappe man oploader til er det muligt ?