LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  FTP upload to a server

    Employee
    Posted 04-21-2015 20:16

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: felfajar

    Hello I am just trying to use (FTP put) node to upload a File to a server please find attached the file, I just would like to knw how to reference the input file properly, the node itself does not fail when I run it but it does not complete and the move is not happening

    Thanks in advance
    Attachments:
    FTP_upload_V2.brg


  • 2.  RE: FTP upload to a server

    Employee
    Posted 04-22-2015 02:10

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: simon.wilby

    Hi falfajar,

    there were a few issues in the graph that you uploaded.

    1. ServerPort is the ftp servers port, not the lae server port - so unless the ftp administrator has specified anything other than the usual you can just leave this parameter blank.
    2. ServerPath parameter - you can only specify the folder location, the node does not support the renaming of files. so the correct entry would be "/mellavawin01/data/User Folders/Felipe/Test_server"
    3. The node where you have the Input_File (delimited input) going to the ftp put; you would still need to specify the localPath parameter. See the example I've uploaded below to see how I would do that - I've created the Example_ftp_file.txt in the lae temp directory first. So the example should work as long as you populate the run parameters.

    I've also set the ConnectionTimeout parameter to 60 seconds (this is quite a recent enhancement to the node so unless you have the latest lal installed this may not be there as a feature).
    In the latest lal there is also the PassiveMode parameter - if the ftp server only accepts Passive ftp then you will need to change this too.

    Anyway give that a go and see if the example graph works for you.

    Regards

    Simon
    Attachments:
    ftp_example.brg