Skip to main content
Question

Gotcha - incorrect file properties when reading data directly from a ZIP file


tim_wood
Contributor
Forum|alt.badge.img+8

Not really a question but a warning...

Reading data directly from inside a ZIP file is great, but there are a few issues that can catch you out. Firstly, you need enough space in the FME_TEMP folder to extract the entire contents of the ZIP file, which can be annoying if you only want one file. Read and vote for my idea on this here:

https://knowledge.safe.com/idea/100199/reading-from-zip-files-extract-only-file-specified.html

Secondly, I've discovered that if you read data from inside a ZIP file using the File and Pathnames Reader, the metadata about the files will be based on the extracted data in FME_TEMP, not the original ZIP file location or properties of the files inside (such as the date created). So in the screenshot below, the path is the FME_TEMP folder, not the original source folder. And the created, modified and accessed dates are all today, because that's when I ran the Workspace and therefore when the data was extracted from the ZIP to the FME_TEMP folder.

0 replies

Be the first to reply!

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