Im working on a FLEX project which requires file upload, with ruby on rails at the backend.Im using the file reference class.
The URLRequest is - http://localhost:3000/flex
where flex is the controller, upload_file is the method
The rails method is
def upload_file
file_data =params[:Filedata]
file_name=params[:Filename]
File.open (name, "wb") { |f| f.write(file_data.read) }
end
When i try to upload a file my flex applications dispatches the COMPLETE event which actually means that the file is successfully uploaded.But the file is not getting uploaded to the desires location.
Can any one of you help me to sort this issue
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Software development tool | Software development | Software development services |
| Home design software | Software development company |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___

