I'm working on a Data Download service. The workspace runs successfully when I run it in Desktop. I uploaded to Server and it finishes successfully but the zip file doesn't contain any files. I checked the Output directory and the files are there.
I don't think so. I'm not using a fanout. And it finishes successfully and creates a zip file, but the file file doesn't contain the output files that were written.
Remember having a similar issue when I defined the output filename as for instance output.kml. Then it would not write the file to the temp-catalogue, however somewhere else on the disk (I think somewhere on the FMEServer Resources directory). Can you examine the log and see where the file was written (not the zip-file).
Sounds like this issue: http://fmepedia.safe.com/articles/Error_Unexpected_Behavior/Data-Download-Zip-File-Empty Sometimes when publishing a workspace we don't automatically assign a writer to the Data Download Service. When you publish your workspace look at the Edit settings for the Data Download Service and make sure there is ""Desired Output Writer" set
In the workspace publish the Fanout Directory parameter on the writer and give the parameter the name FME_SERVER_DEST_DIR.
When the workspace is run on FME Server this macro is replaced by the destination directory for the service and the data can be fanned out and still accessible to the service.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.