Reply to topic
<cfform type="Flash"> File Upload
tech


Joined: 09 Feb 2007
Posts: 6
Reply with quote
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


Joined: 21 Feb 2005
Posts: 83
Reply with quote
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


Joined: 09 Feb 2007
Posts: 6
Reply with quote
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. Very Happy

Thanks again![/quote]
Shaji


Joined: 21 Feb 2005
Posts: 83
Reply with quote
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


Joined: 09 Feb 2007
Posts: 6
Reply with quote
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. Smile </edit>
tech


Joined: 09 Feb 2007
Posts: 6
Reply with quote
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


Joined: 21 Feb 2005
Posts: 83
Reply with quote
I am glad that this issue has fixed now. Very Happy
tech


Joined: 09 Feb 2007
Posts: 6
Reply with quote
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. Smile
tech


Joined: 09 Feb 2007
Posts: 6
Reply with quote
Someone on easycfm.com helped me. Thanks anyway!
<cfform type="Flash"> File Upload
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic