Replies Back to Article
Upload to Different Folders
Instead of
>>"Upload/" & UploadFormRequest("Department")<<
I've this
Set UploadRequest = CreateObject("Scripting.Dictionary")
BuildUploadRequest RequestBin, """filename""", "file", "1000", "over"
Could you please help
"Upload/" & UploadFormRequest("Department").
In the page where the form is or in the IncPureUpload.asp page and where in the code ?
Thank you !
how about when there's a dynamic rewritten dropdownlist on the page, for instance files ending up in:
Uploads/<Section>/<Reference>/
resulting in something like: Uploads/Manuals/Websign/WSv1.doc
and / or: Uploads/Designs/OFT/OFTpov204.doc
would i use something like:
"Upload/" & UploadFormRequest("Section") & "/" & UploadFormRequest("Reference")
You place this in the "Upload folder" in the main window of the server behavior.
also don't forget to change filename to "prefix with full path".
Dennis
I have a page that is creating any additional needed folders and then redirecting to the upload page. Can I pass the name of the folder like -
Response.Redirect("upload.asp?folder=foo")
and then pick that up with a Request.Query in a variable which is then used here -
BuildUploadRequest RequestBin, ""folder"", "file", "", "over"
??