# Orthanc peers

**URL:** https://discourse.orthanc-server.org/t/orthanc-peers/1211
**Category:** Google Groups archive
**Created:** [November 26, 2018, 6:45pm UTC](https://discourse.orthanc-server.org/t/orthanc-peers/1211 "2018-11-26T18:45:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Max](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/max/32/1577_2.png) [@Max](https://discourse.orthanc-server.org/u/Max)
#### Post date: [November 26, 2018, 6:45pm UTC](https://discourse.orthanc-server.org/t/orthanc-peers/1211/1 "2018-11-26T18:45:50Z")

</div>

Hello,  
If I have two Orthanc peer sending images from A to B with autoroute Lua script, how can I have to be sure about the success transmission ?  
Any way to monitoring the good transmission? With a large MR study a manual copy have failed, then retried with success over the internet

Max

---

<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: [November 27, 2018, 8:34am UTC](https://discourse.orthanc-server.org/t/orthanc-peers/1211/2 "2018-11-27T08:34:20Z")

</div>

Have you checked the “Jobs” panel in Orthanc Explorer? Starting with Orthanc 1.4.0, this gives you information about whether a job was successful.

As you are dealing with an evolved use case, make sure that you use the REST API of Orthanc when carrying out auto-routing in Lua:  
[http://book.orthanc-server.com/users/lua.html#important-remarks-about-auto-routing](http://book.orthanc-server.com/users/lua.html#important-remarks-about-auto-routing)

You might want to set the “Permissive” option to “false” to stop transmission as soon as one error is encountered.

---

<div class="post-metadata">

### Author: ![Max](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/max/32/1577_2.png) [@Max](https://discourse.orthanc-server.org/u/Max)
#### Post date: [November 27, 2018, 6:36pm UTC](https://discourse.orthanc-server.org/t/orthanc-peers/1211/3 "2018-11-27T18:36:34Z")

</div>

Sorry where I can find the option PERMISSIVE ?

Max

---

<div class="post-metadata">

### Author: ![Max](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/max/32/1577_2.png) [@Max](https://discourse.orthanc-server.org/u/Max)
#### Post date: [November 29, 2018, 9:32am UTC](https://discourse.orthanc-server.org/t/orthanc-peers/1211/4 "2018-11-29T09:32:23Z")

</div>

Still have error in transfer study with peer :

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

Sorry where I can find the option PERMISSIVE ?

Max

---

<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: [November 29, 2018, 4:37pm UTC](https://discourse.orthanc-server.org/t/orthanc-peers/1211/5 "2018-11-29T16:37:16Z")

</div>

# curl [http://localhost:8042/peers/sample/store](http://localhost:8042/peers/sample/store) -X POST -d ‘{“Resources”:[“6eeded74-75005003-c3ae9738-d4a06a4f-6beedeb8”] **,“Permissive”:false** }’
