Skip to main content
Solved

Writing a Zipfile

  • June 16, 2017
  • 6 replies
  • 66 views

danilo_fme
Celebrity
Forum|alt.badge.img+52

Hello Team,

I need to make the update process inside a existing zipfile.

The zipfile contain a shapefile and i would like to create a CSV file inside this Zipfile.

When i execute my Workspace the FME included the CSV file inside Zipfile, but the other data ( Shapefile ) is deleted.

My problem: How can i just include more file in Zipfile without delete others files included before?

Version of FME Desktop: 2016.1.3.1 ( Build 16716 ).

Attached my Workspace.

Thanks in Advance,

Best answer by erik_jan

You could use the FileCopy writer to write the existing files (copy them) and have both the FileCopy writer and CSV writer write to the same ZIP file.

I believe that should work (I tested it on a my machine)..

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.

6 replies

erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • June 16, 2017

You could use the FileCopy writer to write the existing files (copy them) and have both the FileCopy writer and CSV writer write to the same ZIP file.

I believe that should work (I tested it on a my machine)..


danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Author
  • Celebrity
  • June 16, 2017

You could use the FileCopy writer to write the existing files (copy them) and have both the FileCopy writer and CSV writer write to the same ZIP file.

I believe that should work (I tested it on a my machine)..

Hi @erik_jan thanks you attention with it.

 

 

Did you use the transformer FeatureWriter?

 

Thanks in Advance,

 

 


erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • June 16, 2017
Hi @erik_jan thanks you attention with it.

 

 

Did you use the transformer FeatureWriter?

 

Thanks in Advance,

 

 

Hi @danilo_inovacao

 

 

I used the FileCopy writer after a Creator like this:

 


mark2atsafe
Safer
Forum|alt.badge.img+59
I filed an enhancement request as PR#78162 to see if we can get this functionality added. I'm quite surprised no-one has suggested it before.

 

 


danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Author
  • Celebrity
  • June 16, 2017
Hi @danilo_inovacao

 

 

I used the FileCopy writer after a Creator like this:

 

 

Hi @erik_jan thanks your help :) its works

danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Author
  • Celebrity
  • June 16, 2017
I filed an enhancement request as PR#78162 to see if we can get this functionality added. I'm quite surprised no-one has suggested it before.

 

 

Hello @Mark2AtSafe i received two ways to execute this update from ours FME User's :@takashi and @erik_jan.... :)

 

Please, notify us when have this new functionality add.

 

Thanks :)