How can I download a file from Box.com, Google Drive, OneDrive or S3 by using the file name instead of the id?
Solved
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:
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.