4 Replies Latest reply on Oct 16, 2013 12:56 AM by Pietro Francesco Maggi

    FileTransfer Syntax

    David Miller

      This works:

       

      FileTransfer.source="url('ftp://UserName:UserPassword@thehostname:21/filename.csv')"

       

      However, when I construct the above as a string, it doesn't work.  Error 3....

       

      sourceString = "url(\'ftp://" + @appdata.ftp_username + ":" + @appdata.ftp_password + "@" + @appdata.server_ip_address + ":" + @appdata.server_port + "\/" + "filename.csv" + "\')"

      FileTransfer.source=sourceString

       

      The debugger shows the string as being exactly right.

       

      Any idea whats up?