Stavo guardando questo codice:
codice:
If Form.State = 0 Then 'Completted
Form.Files.Save ImgDirPath 
response.write "
<Font Color=green>File (" & Form.TotalBytes \1024 & "kB) salvato nell cartella " & ImgDirPath & ".</Font>"
ElseIf Form.State > 10 then
 Const fsSizeLimit = &HD
 Select case Form.State
case fsSizeLimit: response.write  "
<Font Color=red>Source form size (" & Form.TotalBytes & "B) exceeds form limit (" & Form.SizeLimit & "B)</Font>
"
case else response.write "
<Font Color=red>Some form error.</Font>
"
  end Select
End If
come posso ottenere il nome della foto? Cosi posso inserirlo nel database.
Lo script è una parte dell'esempio
http://www.pstruh.cz/dlldownload/pASPUpl2.zip