Skip to main content
Question

Is it possible to write a CSV without a containing folder in Server Directory for download

  • April 7, 2016
  • 1 reply
  • 22 views

I am trying to output a directory structure like so:

/metadata.csv
/version.txt
  /Dir1/
    /FileA.txt

When I publish to the Server and run as a Data Download job, the file structure in the resulting .zip looks like this:

/dataset/metadata.csv
/version.txt
  /Dir1/
  /FileA.txt

I have specified the $FME_SERVER_DEST_DIR=\

I have set the metadata.csv writer folder to link to $FME_SERVER_DEST_DIR

How do I have to configure this so that metadata.csv writes to the top level directory without creating a subfolder for itself?

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.

1 reply

Forum|alt.badge.img+2
  • April 7, 2016

Not sure if this answers your question, but I had something similar last week. I was using a fan out and it created a dataset folder inside the zip. To remove it I needed to specify the FME_SERVER_DEST_DIR value in the Fanout Expression not in the Fanout Directory.

FME Desktop/Server 2016