![]() |
| <cfform type="Flash"> File Upload |
|
tech
|
I know ColdFusion doesn't current support the use of cffile in their Flash forms however I found a resource that uses ActionScript to get the job done. I've got their component working locally (win) but I get an error on the webserver (linux). You can see the component by going to...
http://www.asfusion.com/blog/entry/file-upload-with-coldfusion-flash-forms Has anyone successfully implemented this? I'm getting an HTTP 500 error after the file appears to upload. |
||||||||||||
|
|
|||||||||||||
|
Shaji
|
hi,
It is working fine on my linux site.. You would check two things: 1) correct pathname and 2) proper permissions. For example, 1) if you want to upload anything to upload folder, make sure that you use correct pathname: /vservers/YourHomeDir/htdocs/upload 2) make sure that upload folder has write permission for group owner and group owner must be apache or www-data.. There are two options: 1) You can do that via CP at http://www.hostmysite.com/support/cpanel/linux/modifypermissions/ or 2) Contact support and they would grant permissions for you.. |
||||||||||||
|
|
|||||||||||||
|
tech
|
Thanks for the quick reply. I just tried to modify my permission but the CP was giving me an error. I opened a ticket with support.
I'm going to send you a PM with a link to my form so you can see what I'm talking about. Thanks again![/quote] |
||||||||||||
|
|
|||||||||||||
|
Shaji
|
Hey Tech,
Thank for send me PM.. I have tested to upload it and I got same error. I have looked on your ticket. I have added my comments in your ticket and support will work on it for you. I will check it Monday. Have a good weekend!! |
||||||||||||
|
|
|||||||||||||
|
tech
|
Thanks!!
<edit>Just checked my CP and it says I don't have any open tickets. I recieved the email so I'll just reply to it to make sure it's still open. |
||||||||||||
|
|
|||||||||||||
|
tech
|
They fixed it!!
In all of my attempts to test/try different things. I had some mistakes in my code (along with the folder permission, possibly). YOUR SUPPORT ROCKS!!!! |
||||||||||||
|
|
|||||||||||||
|
Shaji
|
I am glad that this issue has fixed now.
|
||||||||||||
|
|
|||||||||||||
|
tech
|
I've got 3 input boxes for different images. They all work perfectly (thanks to HMS). Now I need to be able to email the filenames to me when the form is submitted. I'm not sure how to target the filename of each of the uploads in my sendmail script. Anybody got any suggestions?
Since the file upload is taking place with the component, I know #cffile.ServerFile# isn't going to get me anywhere. |
||||||||||||
|
|
|||||||||||||
|
tech
|
Someone on easycfm.com helped me. Thanks anyway!
|
||||||||||||
|
|
|||||||||||||
| <cfform type="Flash"> File Upload |
|
||
|


