Skip to main content
Solved

Download files from Resources (FME Server)

  • June 6, 2022
  • 2 replies
  • 350 views

nicolae.soare
Participant
Forum|alt.badge.img+3

Hello,

I would like to make an FME Server app which allows the user to download data from Resources folder from FME Server (these files are html files generated by another automation).

Now, in my workspace I am using "Directory and Files pathnames" to get the path to all these .html files located in different folders. I am blocked now because I have no idea how to continue my workspace to download the files. Any ideas?

 

Thank you

Nicu

Best answer by chrisatsafe

Hi @nicolae.soare​ ,

Once you have the path, you can use the File Copy writer.

imageI use that approach in this app; however, I was using the FMEServerResourceConnector to list the files in the workspace rather than the Directory and Files pathnames reader but this should be interchangeable since they both provide paths to the file.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

chrisatsafe
Contributor
Forum|alt.badge.img+2
  • Contributor
  • 606 replies
  • Best Answer
  • June 6, 2022

Hi @nicolae.soare​ ,

Once you have the path, you can use the File Copy writer.

imageI use that approach in this app; however, I was using the FMEServerResourceConnector to list the files in the workspace rather than the Directory and Files pathnames reader but this should be interchangeable since they both provide paths to the file.


nicolae.soare
Participant
Forum|alt.badge.img+3
  • Author
  • Participant
  • 9 replies
  • June 7, 2022

Thank you Chris for your help. your ideea worked ok for me.

Cheers,

Nicu