Hi @mr_fme
I think you can use the custom transformer ZipExtractor after the HttpCaller.

Thanks,
Danilo
danilo_fme wrote:
Hi @mr_fme
I think you can use the custom transformer ZipExtractor after the HttpCaller.

Thanks,
Danilo
Unfortunately not! I´m using 2017 version. This transformer crash my workbench. I need to use command line.
The SystemCaller would be the transformer to use for that.
redgeographics wrote:
The SystemCaller would be the transformer to use for that.
Correct!! But I need the correct command line
mr_fme wrote:
Correct!! But I need the correct command line
Does that command line you posted work ok if you run it directly in cmd?
I'd try it without the cd /, I think the SystemCaller tries to execute the whole thing as a single command.
redgeographics wrote:
Does that command line you posted work ok if you run it directly in cmd?
I'd try it without the cd /, I think the SystemCaller tries to execute the whole thing as a single command.
This command run properly in CMD but not in FME:
cd C:\\Program Files (x86)\\WinRAR\\winrar x C:\\Users\\FME\\Desktop\\test_file.zip c:\\test
mr_fme wrote:
This command run properly in CMD but not in FME:
cd C:\Program Files (x86)\WinRAR\winrar x C:\Users\FME\Desktop\test_file.zip c:\test
I don't think so.
- The leading "cd" is not necessary.
- The file path should be quoted since the path contains spaces.
This command line should work with cmd.
"C:\Program Files (x86)\WinRAR\winrar" x C:\Users\FME\Desktop\test_file.zip c:\test
Also, when you execute the command line via the SystemCaller, you will have to quote the entire command line if a file path within it contains spaces.
""C:\Program Files (x86)\WinRAR\winrar" x C:\Users\FME\Desktop\test_file.zip c:\test"
takashi wrote:
I don't think so.
- The leading "cd" is not necessary.
- The file path should be quoted since the path contains spaces.
This command line should work with cmd.
"C:\Program Files (x86)\WinRAR\winrar" x C:\Users\FME\Desktop\test_file.zip c:\test
Also, when you execute the command line via the SystemCaller, you will have to quote the entire command line if a file path within it contains spaces.
""C:\Program Files (x86)\WinRAR\winrar" x C:\Users\FME\Desktop\test_file.zip c:\test"
Hi @takashi
Thank´s, work properly now!! I was missing something very silly for what I saw.
mr_fme wrote:
Unfortunately not! I´m using 2017 version. This transformer crash my workbench. I need to use command line.
The ZipExtractor should work in FME 2015.1.3.2+. If a translation has crashed causing by some issue in the transformer, I would have to fix it. Could you please post the log file logged when the translation crashed?