Hi,
I have been using the aspSmartUpload componant for uploading files.
The examples seem to be working ok, the file upload is working but I can’t work out how to just have an asp page that lists all the uploaded files?
This is the download file:
<%
’ Variables
’ *********
Dim mySmartUpload
’ Object creation
’ ***************
Set mySmartUpload = Server.CreateObject(“aspSmartUpload.SmartUpload”)
’ Download
’ ********
mySmartUpload.DownloadFile("/aspSmartUpload/Upload/sample.zip")
’ sample with a physical path
’ mySmartUpload.DownloadFile(“c: emp\sample.zip”)
’ sample with optionnals
’ Call mySmartUpload.DownloadFile("/aspSmartUpload/Upload/sample.zip",“application/x-zip-compressed”,“downloaded.zip”)
%>
###########
this only downloads 1 file
Where it references:
mySmartUpload.DownloadFile("/aspSmartUpload/Upload/sample.zip")
is their away of just displaying the contents of the …/uploads folder?
Many Thanks