unikt navn med asp smart upload
Hejsa,Hvordan kan jeg gemme et billede med et unikt navn med aspsmartupload med nedenstående script.
Jeg sender navnet via reques.form("picturename")
' Variables
' *********
Dim mySmartUpload
Dim intCount
' Object creation
' ***************
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
' Upload
' ******
mySmartUpload.Upload
' Save the files with their original names in a virtual path of the web server
' ****************************************************************************
' intCount = mySmartUpload.Save("/aspSmartUpload/Upload")
' sample with a physical path
intCount = mySmartUpload.Save(usersettings.Fields.Item("Udirectpath") &"upload\standardbilleder\2\")
' Display the number of files uploaded
' ************************************
Response.Write(intCount & " file(s) uploaded.")
