# Sharing some files on a folder

**URL:** <https://help.nextcloud.com/t/sharing-some-files-on-a-folder/11373>\
**Category:** ℹ️ Support\
**Created:** [April 13, 2017, 7:50pm UTC](https://help.nextcloud.com/t/sharing-some-files-on-a-folder/11373 "2017-04-13T19:50:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![edumassu](https://help.nextcloud.com/letter_avatar/edumassu/32/5_5575768a8748004e209b776fc1b2916d.png) [@edumassu](https://help.nextcloud.com/u/edumassu)\
**Post date:** [April 13, 2017, 7:50pm UTC](https://help.nextcloud.com/t/sharing-some-files-on-a-folder/11373/1 "2017-04-13T19:50:44Z")

</div>

Hello there, I am new using next cloud and I could not find a solution yet to this issue:

If a share a folder to user A, the user will be able to visualize the folder and all the documents inside, this is fine for me.

My trouble is:  
If I share some files (not all files inside the folder) inside the folder to user B, the user does not see the folder name and inside of it the shared files; instead user B sees on its root directory the shared documents only. My issue with this kind of behavior is when I try to share documents from more than one folder the user B see the shared documents on its root folder but does not have a clue about in which folder is placed originally the shared files.

Is there a way to configure next cloud in order to share files inside a folder and user sees the folder name and only the shared documents inside that folder?

Thanks in advance, sorry for the inconvenience I am a newbie.

Best regards!

---

<div class="post-metadata">

**Author:** ![X4LD1M0](https://help.nextcloud.com/user_avatar/help.nextcloud.com/x4ld1m0/32/44898_2.png) [@X4LD1M0](https://help.nextcloud.com/u/X4LD1M0)\
**Post date:** [April 13, 2017, 9:20pm UTC](https://help.nextcloud.com/t/sharing-some-files-on-a-folder/11373/2 "2017-04-13T21:20:47Z")

</div>

I don’t think there is a way of configuring the current NextCloud to do this, but to be honest I do like this feature. It would make things more organised and not have everything in the users root folder.

---

<div class="post-metadata">

**Author:** ![anon99252149](https://help.nextcloud.com/letter_avatar/anon99252149/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon99252149](https://help.nextcloud.com/u/anon99252149)\
**Post date:** [April 13, 2017, 9:29pm UTC](https://help.nextcloud.com/t/sharing-some-files-on-a-folder/11373/3 "2017-04-13T21:29:12Z")

</div>

> [@edumassu](#):
>
> Is there a way to configure next cloud in order to share files inside a folder

There’s a setting in `/config/config.php`:

```auto
/**
 * Define a default folder for shared files and folders other than root.
 */
'share_folder' => '/',

```

* * *

This setting is not for received files and folders of remote shares, unfortunately.

> <https://github.com/nextcloud/server/issues/540>
>
> \### Expected behavior
> 
> Remote shares should use the \_"default folder for share…d files and folders other than root"\_.
> The received file should be stored in the defined folder.
> 
> https://github.com/nextcloud/server/blob/stable9/config/config.sample.php#L1066-L1069
> 
> \### Actual behavior
> 
> The received files stored in the root.
> \### Steps to reproduce the behavior
> 1. Create a federated file share on server one.
> 2. Accept the remote file share on server two.
> 3. On server two, take a look into the \_share folder\_, defined in \`config.php\`.
> \### Server configuration
> 
> \*\*Nextcloud version:\*\*
> 9.0.53 (stable)
> 
> \*\*Updated from an older Nextcloud/ownCloud or fresh install:\*\*
> ownCloud 9.0.3 -\> Nextcloud 9.0.50 -\> … -\> 9.0.53
> 
> \*\*List of activated apps:\*\*
> \<details\>
> \<summary\>
> 
> App list\</summary\>
> 
> 
> 
> \`\`\`
> …
> - federatedfilesharing: 0.1.0
> - federation: 0.0.4
> - files: 1.4.4
> …
> - files\_sharing: 0.9.1
> …
> \`\`\`
> 
> \</details\>
> 
> \*\*The content of config/config.php:\*\*
> \<details\>
> \<summary\>
> 
> Config report\</summary\>
> 
> 
> 
> \`\`\`
> …
> 'share\_folder' =\> '/Shared',
> …
> \`\`\`
> 
> \</details\>
> 
> \---
> 
> Is it a \_bug\_, a \_feature\_, or \_by design\_?

---

<div class="post-metadata">

**Author:** ![edumassu](https://help.nextcloud.com/letter_avatar/edumassu/32/5_5575768a8748004e209b776fc1b2916d.png) [@edumassu](https://help.nextcloud.com/u/edumassu)\
**Post date:** [April 14, 2017, 1:57am UTC](https://help.nextcloud.com/t/sharing-some-files-on-a-folder/11373/4 "2017-04-14T01:57:55Z")

</div>

Thanks for the quick response, I will try it.

Thanks again!

---

<div class="post-metadata">

**Author:** ![edumassu](https://help.nextcloud.com/letter_avatar/edumassu/32/5_5575768a8748004e209b776fc1b2916d.png) [@edumassu](https://help.nextcloud.com/u/edumassu)\
**Post date:** [April 14, 2017, 2:00am UTC](https://help.nextcloud.com/t/sharing-some-files-on-a-folder/11373/5 "2017-04-14T02:00:36Z")

</div>

I think this feature is always good in order to get everything organized.

Best regards

---

<div class="post-metadata">

**Author:** ![gas85](https://help.nextcloud.com/user_avatar/help.nextcloud.com/gas85/32/7772_2.png) [@gas85](https://help.nextcloud.com/u/gas85)\
**Post date:** [January 12, 2018, 12:17pm UTC](https://help.nextcloud.com/t/sharing-some-files-on-a-folder/11373/6 "2018-01-12T12:17:35Z")

</div>

> [@anon99252149](#):
>
> This setting is not for received files and folders of remote shares, unfortunately.

Just found that you can write e.g.“External/Dropbox-my” in the “name” of external storage and it will create a folder “External” with “Dropbox-my” in it. I put Google drive and Dropbox and others in one folder in this way. It is very nice.  
 ![image](https://help.nextcloud.com/uploads/default/original/2X/5/5784e0b54b67215c8ec010d27f5100736b0e7e7d.png)

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 2, 2024, 1:04pm UTC](https://help.nextcloud.com/t/sharing-some-files-on-a-folder/11373/7 "2024-12-02T13:04:23Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 1:18pm UTC](https://help.nextcloud.com/t/sharing-some-files-on-a-folder/11373/8 "2024-12-04T13:18:45Z")

</div>


