Solved

Uploading a file through HTTP

Posted on 2000-05-10
3
212 Views
Last Modified: 2012-05-04
Hi !
I want to make an app which can upload files through an http connection. how can i do that ??
i expect some sample code too demonstrating this.
-regards
vimal kumar
0
Comment
Question by:sun307
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 2797410
I assume you are talking about Windows programming.

Use the WebPost APIs or HTTP Protocol PUT Functionality.

HOWTO: Upload files to the Internet Information Server
http://support.microsoft.com/support/kb/articles/Q184/3/52.ASP 

Microsoft Web Publishing 1.52 - SDK
http://www.microsoft.com/windows/software/webpost/wpsdk/wpsdk.htm 

WbPost: WebPost API Sample
http://msdn.microsoft.com/library/devprods/vs6/visualc/vcsample/vcsmpwbpost.htm 

WebPost: APIs for Updating and Uploading Content
http://msdn.microsoft.com/library/devprods/vs6/visualc/vcsample/vcsmpwebpost.htm 

SAMPLE: Uploading a File to IIS Using a Browser
http://support.microsoft.com/support/kb/articles/q189/6/51.asp
0
 
LVL 2

Author Comment

by:sun307
ID: 2952128
Answer accepted
0
 
LVL 2

Author Comment

by:sun307
ID: 2952129
Thanx Chensu
-Sun307
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question