0 Replies Latest reply on May 19, 2007 5:00 AM by Ashish Mishra

    What is the use of uploadDataFieldName in upload()

    Ashish Mishra Level 1
      Hi friends,
      I am not able to understand the purpose of uploadDataFieldName parameter of upload method.

      public function upload(request:URLRequest, uploadDataFieldName:String = "Filedata", testUpload:Boolean = false):void

      If is the file data, then How to get the data of a file? With browse I m able to get the file name only. How can I convert it into binary form. How to get the binary contents of the file?

      Plese help me regarding this, from many days i m facing the problem in fileupload programs. If somebody has done a file upload in Servlets or Struts using Jakarta Commons or in another way, Please guide me.

      Thanks in advance for your help