Brug af AspSmartUpload
Jeg har en website hvor der er installeret AspSmartUpload. Jeg bruger følgende til upload:Siden med indtastning:
<HTML>
<BODY BGCOLOR="white">
<H1>AspSmartUpload eksempel</H1>
<HR>
<form method="POST" ACTION="upload.asp" ENCTYPE="multipart/form-data">
<INPUT TYPE="FILE" NAME="FILE1" SIZE="50"><BR>
<INPUT TYPE="SUBMIT" VALUE="Upload">
</FORM>
</BODY>
</HTML>
Siden der skulle uploade:
<HTML>
<BODY BGCOLOR="white">
<H1>AspSmartUpload eksempel</H1>
<HR>
<%
' 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("/filer")
Response.Write(intCount & " file(r) uploaded.")
%>
</BODY>
</HTML>
Men den melder en fejl, hvad kan det skyldes?
På forhånd tak.
