Forums
This topic is locked
asp upload to variable folder
Posted 27 Jan 2004 21:51:02
1
has voted
27 Jan 2004 21:51:02 sander kerstens posted:
hi there,in asp upload dialog box you must set the upload folder...also you can define
a variable upload folder....
the example by dmxzone is:
"Upload/" & Session("login"
now i need to use a querystring as
variable folder so i filled it in like this
"Upload/" & Querystring("orderid"
now i get a error message that the folder does not exist on the server....
is this a folder permission problem or is my syntax wrong....
thanks for the help..
greeetzzz Sander
Replies
Replied 28 Jan 2004 02:02:32
28 Jan 2004 02:02:32 Berry van Elk replied:
You have to use this one :
Create a hidden field in your form called 'orderid' with the content.
Use this in Pure Asp upload :
"upload/" & UploadFormRequest("orderid"
Create a hidden field in your form called 'orderid' with the content.
Use this in Pure Asp upload :
"upload/" & UploadFormRequest("orderid"
Replied 29 Jan 2004 12:19:38
29 Jan 2004 12:19:38 sander kerstens replied:
yes this works...thanks for youre help
grtzz Sander
grtzz Sander