VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Upload a file to your Web via HTTP. Now supporting binary files

Klemens Schmid  (9 Submissions)   Internet/HTML   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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.

Assumes
The project uses the XMLHTTPRequest object in Microsoft XML 3.0. The version 2.0 didn't work for this.

Rate Upload a file to your Web via HTTP. Now supporting binary files (8(8 Vote))

Download Upload a file to your Web via HTTP. Now supporting binary files

Upload a file to your Web via HTTP. Now supporting binary files Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters