# Upload folder of file

**URL:** https://discourse.orthanc-server.org/t/upload-folder-of-file/4892
**Category:** General
**Created:** [July 10, 2024, 8:18am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892 "2024-07-10T08:18:44Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![ilgio](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/i/7feea3/32.png) [@ilgio](https://discourse.orthanc-server.org/u/ilgio)
#### Post date: [July 10, 2024, 8:18am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/1 "2024-07-10T08:18:44Z")

</div>

Isn’t there a way to upload a folder of dicom files from the web?

---

<div class="post-metadata">

### Author: ![alainmazy](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/alainmazy/32/1576_2.png) [@alainmazy](https://discourse.orthanc-server.org/u/alainmazy)
#### Post date: [July 11, 2024, 5:24am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/2 "2024-07-11T05:24:45Z")

</div>

You mean like opening the UI [http://localhost:8042/ui/app/#/](http://localhost:8042/ui/app/#/), click on the upload button and upload a file or folder ?

---

<div class="post-metadata">

### Author: ![ilgio](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/i/7feea3/32.png) [@ilgio](https://discourse.orthanc-server.org/u/ilgio)
#### Post date: [July 11, 2024, 7:38am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/3 "2024-07-11T07:38:31Z")

</div>

![Screenshot 2024-07-11 alle 09.37.47](https://discourse.orthanc-server.org/uploads/default/original/2X/4/487043b526cb26c3c2f444f04ec50d4bddcec806.png)

---

<div class="post-metadata">

### Author: ![alainmazy](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/alainmazy/32/1576_2.png) [@alainmazy](https://discourse.orthanc-server.org/u/alainmazy)
#### Post date: [July 12, 2024, 5:53am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/4 "2024-07-12T05:53:38Z")

</div>

What about including a [message](https://en.wikipedia.org/wiki/Message) in your post ?

Then, what about reading [this documentation](https://orthanc.uclouvain.be/book/users/support.html#required-minimal-quality-of-a-message-in-the-orthanc-users-discussion-forum) to properly format the message.

---

<div class="post-metadata">

### Author: ![ilgio](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/i/7feea3/32.png) [@ilgio](https://discourse.orthanc-server.org/u/ilgio)
#### Post date: [July 12, 2024, 6:37am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/5 "2024-07-12T06:37:08Z")

</div>

At this link  
[http://localhost:8042/ui/app/#/](http://localhost:8042/ui/app/#/)  
no upload button appears but that json

```auto
// 20240711093655
// http://.
8042/ui/app/
"HttpError": "Not Found",
"HttpStatus": 404.
"Message": "Unknown resource",
"Method": "GET"
"OrthancError": "Unknown resource"
"OrthancStatus": 17,
"Uri": "/ui/app/"
｝

```

---

<div class="post-metadata">

### Author: ![alainmazy](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/alainmazy/32/1576_2.png) [@alainmazy](https://discourse.orthanc-server.org/u/alainmazy)
#### Post date: [July 12, 2024, 6:53am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/6 "2024-07-12T06:53:02Z")

</div>

That’s because you don’t have [Orthanc Explorer 2](https://orthanc.uclouvain.be/book/plugins/orthanc-explorer-2.html).  
However, there is an upload button in the Orthanc default user interface at [http://localhost:8042](http://localhost:8042)

 ![image](https://discourse.orthanc-server.org/uploads/default/original/2X/b/b2f9625a624a88a2ffbf9c501a8bd8b973133bfd.png)

---

<div class="post-metadata">

### Author: ![ilgio](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/i/7feea3/32.png) [@ilgio](https://discourse.orthanc-server.org/u/ilgio)
#### Post date: [July 12, 2024, 7:11am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/7 "2024-07-12T07:11:17Z")

</div>

yes I know the standard upload but it doesn’t upload folders. explorer2 I can’t install it. it’s difficult

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [July 12, 2024, 7:40am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/8 "2024-07-12T07:40:52Z")

</div>

> [@ilgio](#):
>
> explorer2 I can’t install it. it’s difficult

Installing OE2 is very easy. Just [read the documentation](https://orthanc.uclouvain.be/book/plugins/orthanc-explorer-2.html#how-to-get-it).

---

<div class="post-metadata">

### Author: ![ilgio](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/i/7feea3/32.png) [@ilgio](https://discourse.orthanc-server.org/u/ilgio)
#### Post date: [July 15, 2024, 11:50am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/9 "2024-07-15T11:50:30Z")

</div>

Where?

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [July 15, 2024, 1:50pm UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/10 "2024-07-15T13:50:47Z")

</div>

> [@ilgio](#):
>
> Where?

Here: [Orthanc Explorer 2 plugin — Orthanc Book documentation](https://orthanc.uclouvain.be/book/plugins/orthanc-explorer-2.html#how-to-get-it)

---

<div class="post-metadata">

### Author: ![ilgio](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/i/7feea3/32.png) [@ilgio](https://discourse.orthanc-server.org/u/ilgio)
#### Post date: [July 17, 2024, 5:34pm UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/11 "2024-07-17T17:34:42Z")

</div>

I put precompiled plugin in plugin folder  
edit orthanc.json and add this:

```auto
"OrthancExplorer2" : {
  "Enable": true,
  "IsDefaultOrthancUI": true
}

```

but doesnt start

 ![Screenshot 2024-07-17 alle 19.32.27](https://discourse.orthanc-server.org/uploads/default/original/2X/8/833867ce43caf37a9152ffe9bde4c4ce5253a4a0.png)  
I have ubuntu 22 and the orthanc package is 1.10

---

<div class="post-metadata">

### Author: ![benjamin.golinvaux](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/benjamin.golinvaux/32/1508_2.png) [@benjamin.golinvaux](https://discourse.orthanc-server.org/u/benjamin.golinvaux)
#### Post date: [July 18, 2024, 6:25am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/12 "2024-07-18T06:25:26Z")

</div>

The error message seems quite clear. Have you tried upgrading Orthanc?

---

<div class="post-metadata">

### Author: ![ilgio](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/i/7feea3/32.png) [@ilgio](https://discourse.orthanc-server.org/u/ilgio)
#### Post date: [July 18, 2024, 10:32am UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/13 "2024-07-18T10:32:29Z")

</div>

ok, I reinstall orthanc from LSB binary and explorer2 work perfectly, great!!

but I have a plugin old version  
in this code there are not all

```auto
Replacing the package from the service by the LSB binaries
If you’re stuck with an old version of Orthanc, you may try to replace the binaries by the LSB binaries. Note that there might be some inconsistencies between the plugins version and you should do that at your own risk.

This can be done with this sequence of commands:

$ sudo service orthanc stop
$ sudo wget https://orthanc.uclouvain.be/downloads/linux-standard-base/orthanc/1.12.4/Orthanc --output-document /usr/sbin/Orthanc
$ sudo chmod +x /usr/sbin/Orthanc
$ sudo rm -f /usr/share/orthanc/plugins/*.so
$ sudo wget https://orthanc.uclouvain.be/downloads/linux-standard-base/orthanc/1.12.4/libServeFolders.so --output-document /usr/share/orthanc/plugins/libServeFolders.so
$ sudo wget https://orthanc.uclouvain.be/downloads/linux-standard-base/orthanc/1.12.4/libModalityWorklists.so --output-document /usr/share/orthanc/plugins/libModalityWorklists.so
$
$ sudo wget https://orthanc.uclouvain.be/downloads/linux-standard-base/orthanc-dicomweb/1.16/libOrthancDicomWeb.so --output-document /usr/share/orthanc/plugins/libOrthancDicomWeb.so
$ ...
$ sudo service orthanc restart

```

this are my plugin:

 ![Screenshot 2024-07-18 alle 12.32.01](https://discourse.orthanc-server.org/uploads/default/original/2X/2/2ef9366efef1bbe89902c5d358bb30e7252c6e7a.png)

---

<div class="post-metadata">

### Author: ![benjamin.golinvaux](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/benjamin.golinvaux/32/1508_2.png) [@benjamin.golinvaux](https://discourse.orthanc-server.org/u/benjamin.golinvaux)
#### Post date: [July 18, 2024, 5:06pm UTC](https://discourse.orthanc-server.org/t/upload-folder-of-file/4892/14 "2024-07-18T17:06:33Z")

</div>

I am sorry but I don’t understand precisely what you mean. Do I infer that you need a plugin that is not available as an LSB binary?

Sébastien and Alain will correct me if I am wrong, but I think that the plugin API is very stable and, as long as a plugin is LSB _or_ designed for your system (i.e. having the rights libs available), you should be able to use it.

Can you please elaborate on your current issue? (ChatGPT is great at translating, by the way)
