Sean
Posts: 39
|
| Posted: 09/15/2004, 3:46 PM |
|
I am using the ASP/VB Script Upload componet and would like to find a way to set the upload path dynamically instead of statically telling it the upload path next to File Folder.
Basically, I would like to upload to:
Basepath\{County}\{year}\{Month}\{Day}
Where the user selects the County, Year, Month & Day from a dropdown box.
Can this be done?
CodeCharge Studio 2.2.3, ASP 3.0 & Access
Thanks.
|
 |
 |
Tuong Do
|
| Posted: 09/16/2004, 9:29 PM |
|
Hi Sean,
It can be done by setting the Upload Filefolder property
In the before Process File event
<Code>
IF bla bla THEN
Form1.FileUpload1.FILEFOLDER = "c:\upload\abc"
ELSE
Form1.FileUpload1.FILEFOLDER = "c:\upload\xyz"
END IF
</code>
"Sean" <Sean@forum.codecharge> wrote in message
news:64148c64567912@news.codecharge.com...
>I am using the ASP/VB Script Upload componet and would like to find a way
>to set
> the upload path dynamically instead of statically telling it the upload
> path
> next to File Folder.
>
> Basically, I would like to upload to:
>
> Basepath\{County}\{year}\{Month}\{Day}
>
> Where the user selects the County, Year, Month & Day from a dropdown box.
>
> Can this be done?
>
> CodeCharge Studio 2.2.3, ASP 3.0 & Access
>
> Thanks.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|