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 only saves to Temp

Print topic Send  topic

Author Message
gpdeering

Posts: 57
Posted: 02/23/2007, 9:28 AM

It seems like a lot of people have problems with this control. So, here is my trouble:

Control Source Type: DB Column
Control Source: blank (I don't want to save a record of the filename.)
Required: blank
Error Control: blank
Temporary Folder: ../../fpdb/upload
File Folder: ../../fpdb
Allowed File Mask: *
Disallowed File Mask: blank
File Size Limit: 100000

When I tried to upload "statusUpdate.html", I got
timestamp.statusUpdate.html in the Temporary Folder ../../fpdb/upload

But there is nothing in the File Folder ../../fpdb


I have verified the read/write permissions on both folders (IIS server, v. 6, I believe). Their permissions are identical to each other.

Then I switched the File and Temporary Folder settings:

Temporary Folder: ../../fpdb/
File Folder: ../../fpdb/upload

When I tried to upload "statusUpdate.html", I got
timestamp.statusUpdate.html in the Temporary Folder ../../fpdb

But there is nothing in the File Folder ../../fpdb/upload


I'm not 100% confident about my understanding of the workings and result of the File Upload control. I thought that, after any necessary processing in the temporary folder (including the addition of a timestamp), the uploaded file would be copied to the File folder and then be deleted from Temporary. If that's true, then the processing is stopping somewhere in the middle. I'm not doing anything the file, but the control is apparently is not finishing its tasks.

Any ideas here?

Thanks,

gpdeering
View profile  Send private message
matheus

Posts: 386
Posted: 02/23/2007, 11:35 AM

Try save a record with filename to see if work.

Stupid question, directories exists?
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
gpdeering

Posts: 57
Posted: 02/23/2007, 12:17 PM

Yes, directories exist. (Sometimes the stupid questions uncover the real stupidity... ) ;-)

I will have to create a table in my DB for this control. It's currently not "connected" to anything.
View profile  Send private message
gpdeering

Posts: 57
Posted: 02/23/2007, 12:40 PM

Quote matheus:
Try save a record with filename to see if work.


Amazing!!! After setting up a DB table for the form, I achieved success! 8-)

(I thought, however, that the control would work without a DB connection. Maybe I just didn't read the online help sufficiently.)


Thanks for the suggestion. That did the trick!

--gpdeering
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.

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.