how can i upload folder on conflueance page
Asked by jay patel:

i am creating a page on confluence where i need to upload a folder ( which has multiple xsd files in it) . how may i do this .

clarification : i am not saying attaching a file , it's attaching a folder with multiple files in it on a page .


Answers:
author: Rupert Neethling
body: Uploading folders containing multiple subfolders, etc. to Confluence is a Herculean task. I wish there was a macro that created a new page and sub-page for every folder and subfolder on the fly, as I uploaded them.


author: Bob Swift (personal)
body: It only takes a [few lines of groovy code](http://stackoverflow.com/questions/3953965/groovy-get-a-list-of-all-the-files-in-a-directory-recursive) to recurse through files in a directory. Once you find a file of interest, then you can do whatever you want depending on your specific use case (add attachment or add a page) using the [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP).


author: jay patel
body: If you are running Firefox or Chrome you can select multiple files and simply drag them onto your Confluence page to upload them all. If you are using Internet Explorer you will have to upload them one at a time using the upload form as Internet Explorer doesn't have the necessary features to allow for drag-drop functionality. As far as havingsome kind of folder structure within your attachments page that is not possible out of the box. You can give your attachments labels to categorize them, but you will still see them all on the attachments page. Clicking on a label will do a search and show you all of the documents that have that label ... that is about the closest I think you will get to being able to structure the attachments page.

comments: author: jay patel
body: answered by : David Studer


author: Davin Studer
body: If you are running Firefox or Chrome you can select multiple files and simply drag them onto your Confluence page to upload them all. If you are using Internet Explorer you will have to upload them one at a time using the upload form as Internet Explorer doesn't have the necessary features to allow for drag-drop functionality. As far as havingsome kind of folder structure within your attachments page that is not possible out of the box. You can give your attachments labels to categorize them, but you will still see them all on the attachments page. Clicking on a label will do a search and show you all of the documents that have that label ... that is about the closest I think you will get to being able to structure the attachments page.

comments: author: jay patel
body: Thank you for the answer David. Sincerely appreciated .


author: jay patel
body: David , both scenarios goes with what i am trying to do . please provide guidance on both the scenarios .


author: Davin Studer
body: Just to clarify are you asking about attaching multiple files to a page? Or are you trying to find some way to group attachments on a page into logical groupings ... similar to a folder stucture?


author: Abdoulaye Kindy Diallo
body: Below highlights should assist you on this:

* <https://confluence.atlassian.com/display/DOC/Attaching+Files+to+a+Page>
* [https://answers.atlassian.com/questions/54069/folder-for-attachments-in-confluence](/questions/54069/folder-for-attachments-in-confluence)

comments: author: Davin Studer
body: WebDAV is not available with the On Demand version.


author: jay patel
body: thanks for the answer sir , i am having hard time installing WEBDEV . do u know any vedio or example which can help me , is it available for on demand version ?