Skip to main content
Solved

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

  • June 12, 2017
  • 1 reply
  • 8 views

fmelizard
Safer
Forum|alt.badge.img+19

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

Best answer by fmelizard

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

View original
Did this help you find an answer to your question?

1 reply

fmelizard
Safer
Forum|alt.badge.img+19
  • Author
  • Safer
  • Best Answer
  • June 12, 2017

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings