Skip to main content
Question

How do I read a 7Z File

  • July 21, 2017
  • 5 replies
  • 293 views

gisgeek
Contributor
Forum|alt.badge.img+9

I have been provided with a compressed gdb file as a 7Z File but having no luck reading it.

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.

5 replies

zzupljanin
Contributor
Forum|alt.badge.img+4
  • Contributor
  • 120 replies
  • July 21, 2017

Not sure can it be read with some reader. But a workaround is:

1. Creator

2. SystemCaller using command like "C:\\Program Files\\7-Zip\\7z.exe" x D:\\Addresses.7z -oD:\\ -y -r

3. FeatureReader - reading gdb previously unzipped data

 

Cheers, Želimir


Forum|alt.badge.img+2
  • 325 replies
  • July 21, 2017

@gisgeek

I had issues reading a large GDB contained within a zip a while ago that was compressed with different technologies. But I could open a GDB with 7Zip but using Windows Compresed file I could not. Reported to Safe and PR69689 logged.

I assume your compressed file has .7z extension so compressed with 7Zip using 7z archive format. I just tried and cannot open, however if compressed using 7Zip but with Zip archive format it works fine.

Already created as an idea here https://knowledge.safe.com/idea/36834/reading-in-7z-formatted-files.html

so add your vote if important to you.


lifalin2016
Supporter
Forum|alt.badge.img+38
  • Supporter
  • 592 replies
  • March 9, 2021

Any update on this? Does FME now read 7zip files as well ?

@gisgeek​ @mark_f​ 


jovitaatsafe
Safer
Forum|alt.badge.img+11
  • Safer
  • 635 replies
  • March 9, 2021

Any update on this? Does FME now read 7zip files as well ?

@gisgeek​ @mark_f​ 

Hi @Lars I Nielsen​, reading 7zip is supported. There's a bit more information on it here in Reading from Archive Files. I think support for 7zip started around FME 2018.1. You can drag and drop the 7zip and specify the file format, or if you are selecting from your folder, you may need to change the file extension filter to 'Archive Files' to be able to select the .7z file.


lifalin2016
Supporter
Forum|alt.badge.img+38
  • Supporter
  • 592 replies
  • March 18, 2021

Hi @Lars I Nielsen​, reading 7zip is supported. There's a bit more information on it here in Reading from Archive Files. I think support for 7zip started around FME 2018.1. You can drag and drop the 7zip and specify the file format, or if you are selecting from your folder, you may need to change the file extension filter to 'Archive Files' to be able to select the .7z file.

Thanks Jovita.

I did try it, and it seems to work, although the syntax for addressing files within the zipped archive it somewhat different from ZIP files.

I.e. not "....xxx.zip/internalFolder/internalFile" but "....xx.7z[internalFolder/internalFile]"

Do you know whether this new syntax is 7zip specific, or the approved syntax going forward for all archive files ?

Cheers