CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 File upload update action

Print topic Send  topic

Author Message
Alvaro Jimenez
Posted: 07/13/2005, 12:47 PM

I have a form where only update is allowed. The problem occurs when i try to upload a new file, i got the error "The file example.jpg especified in FileUpload1 was not found."

File Upload Required property is set to "Yes".

Checking the php code i found that the function UpdateRow() call the method Move() that come from the class clsFileUpload, a problem? I think yes because Move() checks if the file exists in Temporary folder, at that time the file was unlinked by codecharge when it was uploaded.

To solve the problem I had to insert a new line with a call to Upload() before the call to Move().
$this->FileUpload1->Upload($RowNumber);  
$this->FileUpload1->Move();  


There is other way?
Thanks

CCS 2.2.2.40, PHP with Templates, WinXP Pro
peterr


Posts: 5971
Posted: 07/13/2005, 1:39 PM

You may want to contact product support if you suspect a bug in the program.
Thanks
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

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.

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.