Testcontainers-java: copyFileFromContainer - is there a way to copy a folder?

Created on 23 Jul 2019  路  3Comments  路  Source: testcontainers/testcontainers-java

I am using copyFileFromContainer to copy a specific file. Often, I am not sure about the name of the file ahead. I want to copy the entire folder to a temp directory and want to perform some operations to find the file. Is there a way we can copy the entire folder?

I am using:

genericContainer.copyFileFromContainer("/data/lib/com/printing-out-params-5.jar", tempFilePath.toAbsolutePath().toString());

stale typquestion

All 3 comments

Can I please get an answer to this question ^^?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this.

This issue has been automatically closed due to inactivity. We apologise if this is still an active problem for you, and would ask you to re-open the issue if this is the case.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

micheal-swiggs picture micheal-swiggs  路  4Comments

ParafeniukMikalaj picture ParafeniukMikalaj  路  3Comments

vmassol picture vmassol  路  3Comments

rnorth picture rnorth  路  3Comments

dabraham02124 picture dabraham02124  路  3Comments