CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 File Upload bug?

Print topic Send  topic

Author Message
PvD
Posted: 04/03/2003, 1:04 AM

I seem to have a weird bug (?) when I try to put a file upload component into my page.
If I use an absolute path for the temp & file to be stored, everything works fine. But as soon as I try to use a relative path, the resulting live page only shows a completely blank page.
I use the ASP/VB script component, because that way no extra components need to be installed.
Any ideas?

PvD
Sjg
Posted: 04/16/2003, 10:44 AM

I hit something similar. I was going to test the Upload Component.

I created a Grid and Record page. Everything worked fine without the file upl;oad component. I then placed the component on the page, and the record page was blank.

I then added the upload component and I get a blank page. I called Yes Software. I went to re-create the problem with a fress MS Access Database and New Project.

I then could not re-create it.

The initial project was a CCS version 1.x.x project.

I then tried the componet on another CCS 1.x.x project. I put the File Upload Component on the page, navigated to the page and it works.

This would lead me to believe that it is a problem between the CCS 1.x.x model/code and CCS 2.0.5.6

If you find out why this happened, please E-Mail me atsteve@kodiaksolutions.com

And yes I did select the ASP component on the Project Properties.

Steve :-)
PvD
Posted: 04/16/2003, 11:05 AM

Hi Steve,

I uninstalled CCS 1 before installing CCS 2.0.5.6, so it seems that there is something amiss in the CSS 2.0.5.6 version.
Other users have reported similar problems. Even with other ASP components...

I hope this gets resolved quickly, because a file upload makes a significant change in my web-project.

grtz,

Peter
Chris
Posted: 04/16/2003, 11:17 AM

This is intended to work so, at least in the current version. Absolute paths must be used as the code executed when copying files in fact uses c:\windows\... directory as a current one so relative paths don't work.

You may try to use Server.MapPath() methods to map relative path to absolute one in some event code or set property's value to:

" & Server.MapPath("relative/path") & "

(inlcluding double quotes)

Best regards,
Chris
No Name
Posted: 04/16/2003, 12:18 PM

Listed in the Support Database

FileUpload saves files in a wrong location -- ASP -- Resolved in CCS 2.0

   


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.