working ASPUpload script example
Hi,
Does anyone have such a thing?
I've tried all the examples in the ASPUpload download, but none of them seem to work correctly.
so, if anyone is using this component, could you let me have a look at your code?
I only want to do two simple things
1) upload the file
2) place the filename in a db.
but, no matter what I try, I'm struggling.
This is my code
Set Upload = Server.CreateObject("Persits.Upload.1")
Upload.OverwriteFiles = False
Upload.SetMaxSize 1048576 ' Limit files to 1MB
Count = Upload.Save("download/")
but...I can't seem to get a working directory (system cannot find specified directory), which just means I've got it wrong but can't work out the syntax. and for some reason, I can't get the filename!!
thanks for any help
|