Skip to main content

Export files from an FTP server

Comments

2 comments

  • Michael Pilgrim

    How can we set the import to consume only 1 file at a time per for run. Meaning, if there are 2 files, it picks up oldest first, then the next run it would pick up the remaining file.

    0
  • Stephen Brandt Documentation Manager Community moderator
    Engaged
    Great Answer
    Top Contributor
    Celigo University Level 3: Master

    Michael Pilgrim, thanks for the question. 

    Right now, FTP exports either pick up every file in the directory or only the matching files that you filter by name. integrator.io has no built-in counter/limit or sorting by file specification.

    You could, of course, control what's in that directory at the time of the flow run, but that's probably not easily automated by your integration or in advance of it. 

    It is possible to know which file any record was sourced from, assuming you're dealing with parsed data. There might be an opportunity for writing a hook that would extract/convert a date or sequential number from the filename and filter records for subsequent imports. 

    0

Please sign in to leave a comment.