CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 ASP to create file in SPECIFIC folder??

Print topic Send  topic

Author Message
Chris Moore
Posted: 07/27/2003, 4:47 PM

I have an ASP export function that exports some data to an Excel formatted
file. If I hard code the "C:\", it works fine & creates the new file in my
C drive. What I need but can't figure out is I need the file to be created
in the DATA folder under my website. For example: websitename\data. I have
tried using "/data/123.xls", "data/123.xls" & "./data/123.xls" and they all
return an error saying "'C:\WINNT\system32\Data\164.xls' is not a valid
path." Why is it trying to put the file there? How do I tell force the path
to my webaddress/data folder?

Thanks.

Chris

   


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.