Skip to main content

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?

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


Reply