Det lydet godt, hvis du kan hjælpe! Jeg kan ikke få XUpload til noget som helst. Giver ingen fejl, men uploader heller ikke.
Jeg har taget udgangspunkt i
http://support.persits.com/xupload/demo1.aspHer er de 3 filer, som anvendes:
---------- DEMO1.ASP: -----------
<OBJECT WIDTH=500 HEIGHT=200
ID="UploadCtl" CLASSID="CLSID:E87F6C8E-16C0-11D3-BEF7-009027438003"
CODEBASE="XUpload.ocx#VERSION=3,0,0,0">
<PARAM NAME="Server" VALUE="weiland.dk">
<PARAM NAME="Script" VALUE="demo1_upload.asp">
<PARAM NAME="MaxFileCount" VALUE="30">
<PARAM NAME="MaxFileSize" VALUE="1048576">
<PARAM NAME="MaxTotalSize" VALUE="5242880">
<PARAM NAME="ViewServerReply" VALUE="True">
<!--Redirect browser to a server script upon completion of an upload -->
<PARAM NAME="RedirectURL" VALUE="
http://udvikling.assisto.dk/sepius/demo_showreply.asp"></OBJECT>
--------- DEMO1_UPLOAD.ASP: --------------
Set Upload = Server.CreateObject("Persits.Upload")
Upload.IgnoreNoPost = True
' Set this property to handle Unicode characters correctly (65001 means UTF-8)
Upload.CodePage = 65001
Upload.PreserveFileTime = true
' To create unique file names
Upload.OverwriteFiles = FALSE
nCount = Upload.Save("D:\WEB\weiland.dk\www\files")
'nCount = Upload.SaveVirtual("../admin/write/files")
For Each File in Upload.Files
response.write Server.HtmlEncode( File.Path )
response.write File.Size
response.write File.ContentType
Next
---------- DEMO-SHOWREPLY.ASP --------------
reply = Request.Form("XUPLOADREPLY")
if reply = "" Then
Response.Redirect "
http://www.aspupload.com/xupload/livedemo.html"Else
Response.Write reply
End If