Solved

How can I download a file from Box.com, Google Drive, OneDrive or S3 by using the file name instead of the id

  • 12 June 2017
  • 1 reply
  • 0 views

Userlevel 4
Badge +13

How can I download a file from Box.com, Google Drive, OneDrive or S3 by using the file name instead of the id?

icon

Best answer by fmelizard 12 June 2017, 19:42

View original

1 reply

Userlevel 4
Badge +13

Currently, the Download options for these transformers take an ID. To determine the ID based on the file name, you need to:

  • retrieve a list of the files in the remote directory where the file is located,
  • filter out the returned features to find the one that matches your file name,
  • download the file by id.

Here is an example of what it looks like:

Here is the workspace:

box-download-file-name-unknown.fmw

Reply