It's possible to manage upload with SOE ?
like Uploads ?
you can use the ArcGIS Server Administration Toolkit http://www.arcgis.com/home/item.html?id=12dde73e0e784e47818162b4d41ee340 if you need detail see the rest admin help http://resources.arcgis.com/en/help/arcgis-rest-api/02r3/02r3000001qr000000.htm
I won't upload my SOE.
I would like to manage upload throw an SOE.
Foir exemple, upload a shapfile and add the content in a geodatabase. How to do that with SOE ?
excuse me, I haven't read with attention your question. I haven't tried but Esri does it, for example, with attachments ( http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/fsaddattachment.html ) and use post with a multi-part request as per IETF RFC1867. I try and see it if possible.
Had you try with FileReader client side js
var f = $("mydata").files[0]; var reader = new FileReader(); reader.readAsDataURL(f); var mydata = reader.result;
'send via post'
via server soe get your data file
<SPAN class="kwd">byte</SPAN><SPAN class="pun">[]</SPAN><SPAN class="pln"> myDataBytes </SPAN><SPAN class="pun">=</SPAN><SPAN class="pln"> </SPAN><SPAN class="typ">System</SPAN><SPAN class="pun">.</SPAN><SPAN class="typ">Convert</SPAN><SPAN class="pun">.</SPAN><SPAN class="typ">FromBase64String</SPAN><SPAN class="pun">('yourparameterstring'</SPAN><SPAN class="pun">);</SPAN>
I'll test it and i let you know if it working
thanks for the help.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.