1 Reply Latest reply on Oct 27, 2009 1:16 PM by alba1010101

    Perl cgi upload stopped working with Flash 10

    alba1010101

       

       

      First let me just say that PHP is not an option in my environment. Its just not allowed to be used.

      I have some really basic Perl upload scripts that work find with flash 9 and below. However since flash 10 these no longer work. I tried using FileRefernce and while I can get all my values as defined by the

       

      $QUERY_VALS_GV->param statement in Perl, I can not get the file handle

      $QUERY_VALS_GV->upload("fileName"); Any Ideas ?

        

      Snippet

       

      use CGI;

      use CGI qw(:standard);

      use CGI::Carp qw/fatalsToBrowser/;

      ####################

      # Values from Flex #

      ####################

      print header();

      our $QUERY_VALS_GV = new CGI

      our $UPLOAD_FILE_NM_GV = "";

      our $DOC_TYPE_IP = $QUERY_VALS_GV->param("docType");

      our $USER_NAME_IP = $QUERY_VALS_GV->param("userName");

      our $WR_ID_IP = $QUERY_VALS_GV->param("wrId");

      our $WR_TYPE_CD_IP = $QUERY_VALS_GV->param("wrTypeCd");

      our $FILE_NM_IP = $QUERY_VALS_GV->param("fileName");

      our $ACTION_IP = $QUERY_VALS_GV->param("fileAction");

      our $UPLOAD_FHDL_IP = $QUERY_VALS_GV->upload("fileName");