dave-csc commented on issue #5943:
URL: https://github.com/apache/hop/issues/5943#issuecomment-5069748323

   Hi @hansva,
   
   the scenario is as follows: I have a series of HTTP actions that download 
some ZIP files. These files are all saved with target file 
`${OUTPUT_PATH}/${OUTPUT_FILE_X}`, where `${OUTPUT_PATH}` is a full directory 
and the `${OUTPUT_FILE_X}` are variables that represent the file names (they 
all have a common part, i.e. they start with `geoip_`).
   
   Next, the ZIP files need to be extracted. To do so I configured the Unzip 
action as follows:
   - Zip file name: `${OUTPUT_PATH}`
   - source wildcard: `.*/geoip_.*\.zip`
   - Target directory: `${OUTPUT_PATH}/extract`
   - Create folder: enabled
   - If file exists: Skip
   - After extraction: Do nothing
   
   Hop 2.17 and below correctly placed all the archives' contents in separate 
directories inside the `extract` one.
   
   Hop 2.18 skips all the files instead, the debug log just reports:
   ```
   2026/07/24 13:55:37 [Basic]    main - Starting action [Estrazione]
   2026/07/24 13:55:37 [Detailed] main - exec(4, 0, Estrazione)
   2026/07/24 13:55:37 [Detailed] Estrazione - Starting action
   2026/07/24 13:55:37 [Detailed] Estrazione - Target folder 
/work/hop/mount/geolite/in/extract was created.
   2026/07/24 13:55:37 [Detailed] Estrazione - The Zip file 
[/work/hop/mount/geolite/in] exists
   2026/07/24 13:55:38 [Detailed] Estrazione - 
=======================================
   2026/07/24 13:55:38 [Detailed] Estrazione - Nr errors : 0
   2026/07/24 13:55:38 [Detailed] Estrazione - Nr unzipped files : 0
   2026/07/24 13:55:38 [Detailed] Estrazione - 
=======================================
   2026/07/24 13:55:38 [Basic]    main - Finished action [Estrazione] 
(result=[true])
   ```
   
   Hope this helps... otherwise I'll try to set up a more disclosable 
implementation next week (the HTTP actions include sensitive info)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to