1 Reply Latest reply on Dec 18, 2011 4:02 PM by DonMitchinson

    Unable to send file in binary mode to ftp server using AIR application


      Hi,  Can any one help me. i am trying to send local files to ftp server  in binary mode from AIR application using sockets.

      I cant use PASV mode for this FTP server because security restrictions. when i am trying to send Binary command i am always getting

      error code 500 which is unrecognized command. I googled for solutions but i cant find any one using Binary mode to send data every example is using PASV mode to send



      code example:

      private function upload():void{

      sendCommand("binary ");




      private function sendCommand(arg:String):void {

                                              arg +="\n";





      in response i am getting unrecognized command.