Right, couldn't work out how to do this via the REST API so I made a web service to upload a temporary file to:
[WebMethod(Description="Uploads a Temporary File Attachment")] public Guid UploadTempFile(byte[] file, string filename, string contenttype, int sectionid, string username...
on
Wed, Apr 16 2008