VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



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

by Klemens Schmid (9 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

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

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

Download Upload a file to your Web via HTTP. Now supporting binary files (3 KB)

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

No comments have been posted about Upload a file to your Web via HTTP. Now supporting binary files. Why not be the first to post a comment about Upload a file to your Web via HTTP. Now supporting binary files.

Post your comment

Subject:
Message:
0/1000 characters