Solved

Uploading a file through HTTP

Posted on 2000-05-10
3
216 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

628 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