Hi Bruce,
Now I am confused - the document says to build the PostString as thus:
PostString = '--' & Clip(mimeBoundary) & '<13,10>' |
& 'Content-Disposition: form-data; name="SessionID"<13,10>' |
& '<13,10>' |
& Clip(sessionID) & '<13,10>' |
& '--' & Clip(mimeBoundary) & '<13,10>' |
& 'Content-Disposition: form-data; name="thisFormData"<13,10>' |
& '<13,10>' |
& Clip(PostForm) |
& '--' & Clip(mimeBoundary) & '<13,10>'
And I am assuming that the variable PostForm above is the binary contents of the file we are trying to upload. I am not sure how to handle it if the file is 1MB in size - wont the PostString variable max out at 16K or whatever and truncate the rest of the file data?
Thanks,
Devan