# Post multiple files through a CSV

**URL:** <https://community.postman.com/t/post-multiple-files-through-a-csv/68333>\
**Category:** Help Hub\
**Tags:** variables\
**Created:** [September 12, 2024, 5:05am UTC](https://community.postman.com/t/post-multiple-files-through-a-csv/68333 "2024-09-12T05:05:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![science-meteorologi3](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@science-meteorologi3](https://community.postman.com/u/science-meteorologi3)\
**Post date:** [September 12, 2024, 5:05am UTC](https://community.postman.com/t/post-multiple-files-through-a-csv/68333/1 "2024-09-12T05:05:40Z")

</div>

Hi Community,

Considering the CSV file “2-sample.csv” containing the columns:  
FileName,ProcessID  
“file 1.pdf”,164  
“file 2.pdf”,165  
“file 3.pdf”,166

I need to run an automation following the actions below:

1- Run multiple posts [https://example.com/danalysis/{{ProcessID}](https://example.com/danalysis/%7B%7BProcessID%7D)}/attachment/

2- Each post must uploads related {{FileName}} stored in a MacOS folder path /Users/atom/Documents/All\_files/PDF

Can anyone pls assist?

Thanks!!

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [September 18, 2024, 3:52pm UTC](https://community.postman.com/t/post-multiple-files-through-a-csv/68333/2 "2024-09-18T15:52:39Z")

</div>

Hey @science-meteorologi3 👋

Welcome to the Postman Community! :postman:

If those are contained in a CSV file, if you were to make a reference to them in the request using the variable syntax, it’s just going to resolve to that string value. It wouldn’t create a direct reference to that file on your local machine.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [October 18, 2024, 3:53pm UTC](https://community.postman.com/t/post-multiple-files-through-a-csv/68333/3 "2024-10-18T15:53:11Z")

</div>

Closed on October 18, 2024, 3:53pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
