CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Relative paths for Fileupload

Print topic Send  topic

Author Message
RG
Posted: 04/01/2003, 1:46 PM

Uploading doesn't work if the entry "File Folder" in the Fileupload properties is a relative path. Absolute paths work properly. I tried "myfolder", "/myfolder", "myfolder/", "/myfolder/", "\myfolder", "myfolder\" and "\myfolder\". I'm using JSP, does anyone have a hint for me?

Thanks
PvD
Posted: 04/08/2003, 9:37 AM

I have the same problem using the ASP/VBscript component.
In addition to the formats you tried, I also tried "./myfolder", ".\myfolder", "./myfolder/" and ".\myfolder\" .
All the absolute paths work fine, but as soon as I use a relative path, the resulting page is just plain white with no contents. The HTML shows only empty header and body tags.
Since I use a different languague that you do, it seems that the bug (?) is not language related.
Perhaps someone can shed a light on this?

Peter
RG
Posted: 04/08/2003, 12:25 PM

I believe in your case there is something else wrong. In my case it brings the validation error "the path to ... not found" etc. I am either one step behind you or I have a different problem.
In the case of empty pages I found that some elements like "seperators" in the grids and forms could cause that.
Anyways, Yes told me to use absolute paths!
To make it more dynamic I would try to put the path in the properties file and parse it from there in the runtime.

Good luck
Karen
Posted: 04/09/2003, 12:37 AM

I use PHP/MySQL on Linux. I enter the path as a relative, e.g., ./products and it's working ok. However, using environment variable for the temporary folder does not work for me. Otherwise, it is working well. Hope this helps.

   


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

MS Access to Web

Convert MS Access to Web.
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.