# Upload Issue - multiple subfolders

**URL:** <https://discourse.openondemand.org/t/upload-issue-multiple-subfolders/3224>\
**Category:** Get Help\
**Created:** [January 25, 2024, 5:55pm UTC](https://discourse.openondemand.org/t/upload-issue-multiple-subfolders/3224 "2024-01-25T17:55:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maestro7879](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maestro7879/32/1865_2.png) [@maestro7879](https://discourse.openondemand.org/u/maestro7879)\
**Post date:** [January 25, 2024, 5:55pm UTC](https://discourse.openondemand.org/t/upload-issue-multiple-subfolders/3224/1 "2024-01-25T17:55:27Z")

</div>

Encountering an issue where subfolders 3 levels down are not created and the files contained are also not uploaded. The upload will fail on the files.

Example - attempt to upload unzipped - [https://github.com/OSC/bc\_osc\_rstudio\_server/archive/refs/tags/v0.26.0.zip](https://github.com/OSC/bc_osc_rstudio_server/archive/refs/tags/v0.26.0.zip)

/bin and /etc fail to upload

version 3.0.1

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [January 25, 2024, 6:20pm UTC](https://discourse.openondemand.org/t/upload-issue-multiple-subfolders/3224/2 "2024-01-25T18:20:46Z")

</div>

Could you please post the actual errors you are seeing, the `script.sh` you have setup, and I can’t follow the first sentence. Are you creating files or uploading files? I’m not sure what you are asking in this current form.

---

<div class="post-metadata">

**Author:** ![maestro7879](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maestro7879/32/1865_2.png) [@maestro7879](https://discourse.openondemand.org/u/maestro7879)\
**Post date:** [January 25, 2024, 6:36pm UTC](https://discourse.openondemand.org/t/upload-issue-multiple-subfolders/3224/3 "2024-01-25T18:36:35Z")

</div>

I’m unzipping this file locally on my laptop - [https://github.com/OSC/bc\_osc\_rstudio\_server/archive/refs/tags/v0.26.0.zip](https://github.com/OSC/bc_osc_rstudio_server/archive/refs/tags/v0.26.0.zip)

I then go to OOD console to upload the folder to my Home directory and choose local folder bc\_osc\_rstudio\_server-0.26.0, click Upload.  
Attempting to upload to /home/bob.smith/

It will fail uploading these two folders and the files contained within each -  
bc\_osc\_rstudio\_server-0.26.0/template/bin/  
bc\_osc\_rstudio\_server-0.26.0/template/etc/

It will list the files that were not able to be copied.  
I checked the ondemand-nginx logs and didn’t find anything there.

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [January 25, 2024, 10:33pm UTC](https://discourse.openondemand.org/t/upload-issue-multiple-subfolders/3224/4 "2024-01-25T22:33:20Z")

</div>

Oh, wait so this is for a file upload? I thought you were doing something with `rstudio`.

I was able to just upload them myself on `3.0.1` and all the directories and files are there.

Did you click “Browse Files” or “Browse Folders” when you made the selection? Referring to the pop up you would see below:

 ![Screenshot from 2024-01-25 14-34-37](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/2/2cd897dff9141f0c1b6c93a03265e6e7e96762ac.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [July 23, 2024, 10:33pm UTC](https://discourse.openondemand.org/t/upload-issue-multiple-subfolders/3224/5 "2024-07-23T22:33:24Z")

</div>

Closed on July 23, 2024, 10:33pm UTC

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