Skip to main content
Solved

Writing a Zipfile


danilo_fme
Evangelist
Forum|alt.badge.img+42

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)..

View original
Did this help you find an answer to your question?

6 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • 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
Evangelist
Forum|alt.badge.img+42
  • Author
  • Evangelist
  • June 16, 2017
erik_jan wrote:

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+17
  • Contributor
  • June 16, 2017
danilo_fme wrote:
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+43
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
Evangelist
Forum|alt.badge.img+42
  • Author
  • Evangelist
  • June 16, 2017
erik_jan wrote:
Hi @danilo_inovacao

 

 

I used the FileCopy writer after a Creator like this:

 

 

Hi @erik_jan thanks your help :) its works

danilo_fme
Evangelist
Forum|alt.badge.img+42
  • Author
  • Evangelist
  • June 16, 2017
mark2atsafe wrote:
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 :)

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings