# How to copy multiple files from Artifactory to the cookbook

**URL:** <https://discourse.chef.io/t/how-to-copy-multiple-files-from-artifactory-to-the-cookbook/15026>\
**Category:** Chef Infra (archive)\
**Created:** [May 1, 2019, 5:31pm UTC](https://discourse.chef.io/t/how-to-copy-multiple-files-from-artifactory-to-the-cookbook/15026 "2019-05-01T17:31:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jeffschumacher](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/jeffschumacher/32/1395_2.png) [@jeffschumacher](https://discourse.chef.io/u/jeffschumacher)\
**Post date:** [May 1, 2019, 6:16pm UTC](https://discourse.chef.io/t/how-to-copy-multiple-files-from-artifactory-to-the-cookbook/15026/2 "2019-05-01T18:16:37Z")

</div>

Similar question here, look at the answer: [Looping through an array](https://discourse.chef.io/t/looping-through-an-array/10085)

Basically you'll want to have an array of the filenames, then loop through that array, and within the loop, use your resource to acquire the file from Artifactory.

---

_[View the full topic](https://discourse.chef.io/t/how-to-copy-multiple-files-from-artifactory-to-the-cookbook/15026)._
