CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Dynamically set path for ASPUpload

Print topic Send  topic

Author Message
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.
View profile  Send private message
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/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.