Pulp
|
| Posted: 07/03/2003, 1:34 AM |
|
If you have an upload form with 2 CCS FileUpload components...
Let's assume you upload the same file in both of them. Then you want to use your form to update the files you uploaded before. Let's try to update the 2nd one, and only this one for the moment... So you check the 2nd checkbox and validate the form, in order to delete the associated file.
But something goes wrong : it deletes the first file too !
Did someone encouter that problem too ? How did you solve it ?
|
|
|
 |
RonB
|
| Posted: 07/05/2003, 4:22 AM |
|
This probably sounds stupid but did you check the db source for the uploads. I had the same problem and discovered I was stupid enough to have set the same source for both uploads 
Ron
|
|
|
 |
Pulp
|
| Posted: 07/07/2003, 2:43 AM |
|
No... It's not the same source... The problem is in my opinion that the 2 uploaded file has the same filename. In fact there is just 1 file uploaded. So if you delete it in one of the 2 fileupload components, it is effectively deleted, without verifying that the file is needed elsewhere.
|
|
|
 |
|