× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Brad,

> Hopefully Scott is reading and can help with his API...  I
> can tell you how to do it with my utitility...

Hmmm... I thought that I had previously responded to this thread, and I
said that I'd reply to him on a different mailing list -- but I guess not.
I've actually got my own mailing list for this project and for it's
cousin, FTPAPI, and I've replied to Dave on that list.

Does GETURI do multipart/form-data encoded POSTs?  Compatable with the
<input type=file> HTML tags?  What Dave is trying to do is a post that's
compatible with the following HTML:

<FORM ENCTYPE="multipart/form-data" ACTION="/" METHOD=POST>
<TD ALIGN=LEFT>
<INPUT TYPE=SUBMIT VALUE="Upload File">
</TD><TD ALIGN=LEFT>
<INPUT TYPE=FILE NAME="File" SIZE=20>
</TD>
</FORM>

Right now to do that with HTTPAPI, you have to generate a user space that
has the MIME headers and file data in it, and then pass a pointer to the
user space to the API that handles POST requests.  Kinda awkward -- but
I've never seen anyone who uses ENCTYPE="multipart/form-data" before.

If GETURI does that out-of-the-box, then it might be a better solution for
him than HTTPAPI...


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.