1 Reply Latest reply on May 25, 2017 12:34 AM by Darryn Campbell

    what is transfer error code 2 and how to fix it?

    Faucheux Martin

      Hi

      I try to use the transfer function to upload some files on my ftp server.

       

      My code is

      function testTransfer(){

          fileTransfer.source = "url('file://\\Application\\new_app\\dl\\test.txt')";

          fileTransfer.destination = "url('ftp://user:pswrd@adress:21/test.txt')";

          fileTransfer.transfer();

      }

       

      I checked and there is a test.txt at /Application/new_app/dl/test.txt

      When I use this code, I can see a connction log on my fileZilla FTP server but I got an error code 2 on my app.
      I tried to figure out what this code means but I can't find it.

      Can you guys help me please?