Looking at the UI code, it might be using a different mechanism than the REST
API:

<form class="upload-form" id="idbd" method="post"
action="./deployartifact.html?3-1.IFormSubmitListener-deployArtifactPanel-uploadForm"
enctype="multipart/form-data" accept-charset="UTF-8"
onsubmit="DomUtils.submitOnce(this);"><div
style="width:0px;height:0px;position:absolute;left:-100px;top:-100px;overflow:hidden"><input
type="hidden" name="idbd_hf_0" id="idbd_hf_0" /></div>
<p>

so instead of PUT, it is using POST with multipart/form-data.

Is it possible to emulate what UI is doing via REST API?  That might be what
I need.



--
View this message in context: 
http://forums.jfrog.org/Uploading-a-large-artifact-via-REST-API-using-multipart-form-data-tp7579898p7579899.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Artifactory-users mailing list
Artifactory-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to