Hi Odium
Kenne die Seite mittlerweie schon gut..
Aber wie gesagt komme damit nicht klar weil ich eben 2 mal die datei gespeichert bekomme wenn ich mich zb. an diese Beispiel halte:
<%
' Variables
' *********
Dim mySmartUpload
Dim file
Dim intCount
intCount=0
' Object creation
' ***************
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
' Upload
' ******
mySmartUpload.Upload
' Select each file
' ****************
For each file In mySmartUpload.Files
' Only if the file exist
' **********************
If not file.IsMissing Then
' Save the files with his original names in a virtual path of the web server
' **************************************************************************
file.SaveAs("/aspSmartUpload/Upload/" & file.FileName)
' sample with a physical path
' file.SaveAs("c:\temp" & file.FileName)
Es wird einerseits hier gespeichert mit orginalen Namen:
mySmartUpload.Upload
und andererseits hier mit selbst definierten namen:
file.SaveAs("/aspSmartUpload/Upload/testname")
Kenn die Codes schon aber nur bekomm ich halt leider 2 dateien gespeichert.
MFG
Markus