Overview‎ > ‎Creating proofs‎ > ‎

doUpload()

To upload a file you perform a POST upload like a regular web "multipart/form-data" form POST. This can be done using secure HTTPS protocol.

Request parameters

Secure file transfer using HTTPS
POST to:

https://soap.proofhq.com/upload.php

Example Form:

<form method="POST" enctype="multipart/form-data" action="https://soap.proofhq.com/upload.php" target="_blank">
<input type="FILE" name="optionalFile" />
<p> File list
<input type="SUBMIT" value="Submit" />
<input type="RESET" value="Reset" />
</p>
</form>


Note: For the Automated Workflow proofs make sure that the SessionID is included in the form:

<form method="POST" enctype="multipart/form-data" action="https://soap.proofhq.com/upload.php" target="_blank">
<p> SessionID
<input type="text" name="SessionID" />
</p>
<input type="FILE" name="optionalFile" />
<p> File list
<input type="SUBMIT" value="Submit" />
<input type="RESET" value="Reset" />
</p>
</form>


Once the upload has completed you are presented with a SOAP response containing the information needed to complete the proof or file share creation.

Response parameters

SOAPFileUploadObjectArray:  Array of SOAPFileUploadObject