File Uploads Using Zoho Creator API

File Uploads Using Zoho Creator API

Hi,

I'm having trouble getting a file upload field to work using the Server Side Rest API in my form. Please see code below:

<form method="POST" action="http://creator.zoho.com/api/xml/myapplication/myapplication_Form/add/apikey=XXXXX&ticket=[XXXXX]">
<table>
<tr>
<td>Photo Upload: </td>
<td><input type="file" name="Photo_Upload" size="19"></td>
</tr>
</table>
<input type="submit" value="Submit XML String" enctype="multipart/form-data" >
<input type="text" name="zc_ownername" value="[myname]">









Everything else work fine, and the file name appears in the view, but it is not uploaded- see the link below- there should be a bunch of numbers after filepath=/:

http://creator.zoho.com/DownloadFile.do?filepath=/PHOTO.gif&sharedBy=myname

Any ideas? Thanks.