Skip to main content

Hi, I pull down a file from s3, zip it then upload it to s3 again.

When I use the zip archiver it adds the file to a folder and zips up the folder which has the same name as the file.

This is a little of a pain when extracting. Is there anyway to zip just the file without having a folder.

Many Thanks

Oliver

 

When I use the ZipArchiver there is no extra folder created when I archive a file. Are you copying a folder and/or are you using FME server?


Hi @olivermorris,

Depending on your workflow and output format you could potentially make use of a fanout expression. Take a look at this FME Evangelist tweet for more info. A dataset fanout should write zipped files into an unzipped directory.

 

Hope this helps,

 

Nathan

thank you both, turns out the new s3 connector tricked me with folder vs filename. It is now working without creating a folder. Thanks but this was as usual user error!

Oliver