|
This article was created as appendix for Upload file using IE+ADO without user interaction - VBS. The "Upload file" article lets you build multipart/form-data document from source file. You can send the binary document to any server using several ways. Author: Antonin Foller Code: ASP 3.0 & VBScript |
| |
Overall Rating:
 User Rated
| |
Correct, but unnecessary  Written by Anonymous User (#1651-118) from Boston, MA (Tuesday, August 01, 2006)
 |
Strengths: It works Weaknesses: You can do the same thing with XMLHTTPRequest Details: Once you've got the form data in an array of bytes, you can send it with XMLHTTPRequest just as easily, and without the overhead of creating the IE application. IXMLHTTPRequest::send() takes a single VARIANT as an argument. If it's a VARIANT of type VT_UI1|VT_ARRAY, you're all set. The problems are what they always were: Getting binary data in there intact, and converting COM automation BSTRs into the eight-bit ASCII that HTTP understands. And, of, course, learning how to generate a correct MIME/multipart message. But that's trivial. Review Based On: using demo only |
Very Good Overview of Server-Side-Post Possibiliti  Written by Anonymous User (#1690-195) from Brussels (Tuesday, June 29, 2004)
 |
Strengths: good overview of possibilities Weaknesses: no information nor link about the syntax of the formdata. Details: What should be posted as formdata is not given at all. However the article is a very good overview. Review Based On: 10 Day(s) of usage |
| |
|