# Uploading multiple files from same directory for processing

**URL:** <https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974>\
**Category:** KNIME Server\
**Created:** [December 19, 2018, 2:38pm UTC](https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974 "2018-12-19T14:38:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbrooijmans](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/n/a6a055/32.png) [@nbrooijmans](https://forum.knime.com/u/nbrooijmans)\
**Post date:** [December 19, 2018, 2:38pm UTC](https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974/1 "2018-12-19T14:38:29Z")

</div>

Hi,  
I’m trying to create a workflow that uploads and processes multiple files from the same directory that’s compatible with the KNIME server. The file upload node allows uploading a single file, but I haven’t been able to loop over each file in the directory and upload everything automatically. What’s the best way to do that?

In more detail, the directory will contain a single xls file and multiple SDF’s and the info in the xls file will have to be added to the info in the SDF file, eventually spitting out a single xls file with the integrated info from all the files.

Thanks,  
Natasja

---

<div class="post-metadata">

**Author:** ![SimonS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/simons/32/3861_2.png) [@SimonS](https://forum.knime.com/u/SimonS)\
**Post date:** [December 19, 2018, 5:36pm UTC](https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974/2 "2018-12-19T17:36:37Z")

</div>

Hi @nbrooijmans,

I think you can use the _File Chooser_ node which allows you to select a directory. You can feed the selected directory via flow variable into the _List Files_ node and loop afterwards over the files, read them, and do the processing.

Cheers,  
Simon

---

<div class="post-metadata">

**Author:** ![nbrooijmans](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/n/a6a055/32.png) [@nbrooijmans](https://forum.knime.com/u/nbrooijmans)\
**Post date:** [December 19, 2018, 6:26pm UTC](https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974/3 "2018-12-19T18:26:24Z")

</div>

Hi Simon,

Unfortunately that node requires the directory/file to be on a mounted drive within the KNIME server, not a local hard disk.

Thanks,

Natasja

---

<div class="post-metadata">

**Author:** ![SimonS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/simons/32/3861_2.png) [@SimonS](https://forum.knime.com/u/SimonS)\
**Post date:** [December 19, 2018, 6:51pm UTC](https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974/4 "2018-12-19T18:51:19Z")

</div>

Yes, you need to have your data on your server to do this. I don’t think there is another way.

Cheers,  
Simon

---

<div class="post-metadata">

**Author:** ![nbrooijmans](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/n/a6a055/32.png) [@nbrooijmans](https://forum.knime.com/u/nbrooijmans)\
**Post date:** [December 19, 2018, 11:08pm UTC](https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974/5 "2018-12-19T23:08:32Z")

</div>

I worked around it by putting all the necessary files in a single zip file, uploading that, and unzipping into a temp directory that can be created on the KNIME server.

---

<div class="post-metadata">

**Author:** ![SimonS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/simons/32/3861_2.png) [@SimonS](https://forum.knime.com/u/SimonS)\
**Post date:** [December 19, 2018, 11:35pm UTC](https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974/6 "2018-12-19T23:35:58Z")

</div>

Glad you found a solution! That’s a clever workaround, I didn’t think about it.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:31pm UTC](https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974/7 "2023-06-23T20:31:58Z")

</div>

Closed on June 23, 2023, 8:31pm UTC



---

<div class="post-metadata">

**Author:** ![forum](https://forum-cdn.knime.com/user_avatar/forum.knime.com/forum/32/77398_2.png) [@forum](https://forum.knime.com/u/forum)\
**Post date:** [September 17, 2025, 4:52pm UTC](https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974/8 "2025-09-17T16:52:48Z")

</div>

**Internal ticket ID:** UIEXT-2349  
**Summary:** Multiple file upload widget  
**Fix version(s):** 5.4.0  
**Other related topic(s):**

> [@Request: Select multiple files or directories from File Upload widget](https://forum.knime.com/t/33601):
>
> Hi. I’m using KNIME AP 4.3 and developing a workflow for the web portal. I want to ask the user to select a directory on their local drive (or alternatively, multiple files within the directory), and the workflow would then upload all files in the directory (or alternatively, all selected files in the directory) so the workflow can process them. The File Chooser widget looked promising, but it’s limited to selecting files or directories from a remote mountpoint. The File Upload widget allows s…

> [@Reading data from Knime Server](https://forum.knime.com/t/38025):
>
> Hello Dear Knimers green_heart I am trying to execute simple workflow in Knime Server, where I have to read data from local file system(from my desktop) It is saying that the specified file does not exist Message from the server [image] The workflow in local workspace [MicrosoftTeams-image (1)] Thanks in advance innocent

> [@Upload multiple files](https://forum.knime.com/t/41584):
>
> Hi all I want to know if there is a way to upload multiple files to the knime server that a user can just drag or drop. I know you can add multiple file widgets, but it would be great if once can just select multiple files.

> [@Multiple File Upload - File Upload Widget and File Chooser Widget](https://forum.knime.com/t/47653):
>
> Hi, KNIME AP 4.6.2 KNIME Server 4.15.1 I currently try to create a component for a workflow running on a knime server based on: [https://kni.me/w/xswv3kaw2K-ybXsU](https://kni.me/w/xswv3kaw2K-ybXsU) First Problem: I use the combination of Refresh Button and File Upload widgets to load multiple files by writing each file to a temporary folder using the CSV writer. This actually works until I click the “Close and Apply temporarily” button. Which results in a duplication of my uploaded data. I still cannot find a mistake in the …

> [@Widget to upload multiple files](https://forum.knime.com/t/69854):
>
> Hello Is there a way to use a widget to reference a folder and upload all the files in that folder? I’m using File Upload Widget but it generates an image in the temp stream of the selected file (single file), but I can’t use it to upload multiple files. Thanks

> [@Local File Browser Configuration In local](https://forum.knime.com/t/78481):
>
> Because the server doesn’t support folder upload functionality, now i am trying to ensure that configuration does the job atleast in the local machine. However the local file browser configuration also seems to support single file selection and not multiple files. The moment i select the folder and pass it to an excel reader, it doesn’t allow. Is there any way this can be achieved? The goal is that the user doesn’t get to see the logic and they only choose the folder in their local. TIA

> [@Folder Upload on Knime Webportal](https://forum.knime.com/t/78267):
>
> Hi, I want the option for the user to select a folder from local machine and all the files within it get consolidated and i can run the workflow. It is simple in the desktop version with either the files in folder option or the \*.xlsx but for server , the file upload widget doesn’t work as it doesn’t recognize the folder selection. How can i get this done? Thanks in advance, Rajat

---

<div class="post-metadata">

**Author:** ![forum](https://forum-cdn.knime.com/user_avatar/forum.knime.com/forum/32/77398_2.png) [@forum](https://forum.knime.com/u/forum)\
**Post date:** [September 17, 2025, 4:53pm UTC](https://forum.knime.com/t/uploading-multiple-files-from-same-directory-for-processing/12974/9 "2025-09-17T16:53:01Z")

</div>

**Internal ticket ID:** UIEXT-81  
**Summary:** File Upload Widget should support upload of multiple files  
**Fix version(s):** 5.4.0  
**Other related topic(s):**

> [@Reading data from Knime Server](https://forum.knime.com/t/38025):
>
> Hello Dear Knimers green_heart I am trying to execute simple workflow in Knime Server, where I have to read data from local file system(from my desktop) It is saying that the specified file does not exist Message from the server [image] The workflow in local workspace [MicrosoftTeams-image (1)] Thanks in advance innocent

> [@Upload multiple files](https://forum.knime.com/t/41584):
>
> Hi all I want to know if there is a way to upload multiple files to the knime server that a user can just drag or drop. I know you can add multiple file widgets, but it would be great if once can just select multiple files.

> [@Multiple File Upload - File Upload Widget and File Chooser Widget](https://forum.knime.com/t/47653):
>
> Hi, KNIME AP 4.6.2 KNIME Server 4.15.1 I currently try to create a component for a workflow running on a knime server based on: [https://kni.me/w/xswv3kaw2K-ybXsU](https://kni.me/w/xswv3kaw2K-ybXsU) First Problem: I use the combination of Refresh Button and File Upload widgets to load multiple files by writing each file to a temporary folder using the CSV writer. This actually works until I click the “Close and Apply temporarily” button. Which results in a duplication of my uploaded data. I still cannot find a mistake in the …

> [@Widget to upload multiple files](https://forum.knime.com/t/69854):
>
> Hello Is there a way to use a widget to reference a folder and upload all the files in that folder? I’m using File Upload Widget but it generates an image in the temp stream of the selected file (single file), but I can’t use it to upload multiple files. Thanks
