Upload a file to your Web via HTTP. Now supporting binary files
This code uploads a file to an ASP script using http post. It can be used to automatically upload files without user interaction, e.g. when you want to publish some data to your Web site periodically.
There are lots of code excerpts around describing the receiving side but the sending side is mostly an HTML page containing INPUT TYPE="File" ... Simulating this by code requires some knowledge of HTTP Post and Mime.
Find the full project and the ASP in the ZIP.
New!!! Now shows how to upload a .gif file. Other binary files work similar.
Original Author: Klemens Schmid
Assumptions
The project uses the XMLHTTPRequest object in Microsoft XML 3.0. The version 2.0 didn't work for this.
About this post
Posted: 2002-06-01
By: ArchiveBot
Viewed: 88 times
Categories
Attachments
Upload a f210366112001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 4,054 bytes
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.