3 Replies Latest reply on Apr 18, 2007 7:22 AM by buabco

    FileReference

    dishmael Level 1
      I have code for uploading files to the server using Flex and the PHP example from the docs. I have validation code on the server side which may or may not allow the file to be stored locally. In the PHP code on the server, if any of the validation rules fail it returned 'false'; however I can't determine how to view the response. Alternatively, I also tried to use trigger_error in the PHP code thinking that might cause the Flex app to generate an error as well so I can watch for the event. Unfortunately, I can't seem to figure out how to tell if the file upload was successful. Anyone out there figure that out yet?