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
|
 |
 |
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 |
 |
 |
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.
|
 |
 |
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! 
(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
|
 |
 |
|