473,569 Members | 2,901 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C++ MultipartReques t

I have written a Java application that will upload files and fields to
a MultipartReques t servlet. However, I now need to do the same in C++.
Although very similar, I do not know how to go about handling the HTTP
io streams. Once I know how to transfer information via io streams
over the internet I think I can do the rest on my own. Any help would
be great.

John C. Wallace
Jul 19 '05 #1
1 1937
> I have written a Java application that will upload files and fields to
a MultipartReques t servlet. However, I now need to do the same in C++.
Although very similar, I do not know how to go about handling the HTTP
io streams. Once I know how to transfer information via io streams
over the internet I think I can do the rest on my own. Any help would
be great.


http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
Jonathan
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4055
by: cv | last post by:
Hello All, I have used MultipartRequest like the following to upload images. MultipartRequest multi = new MultipartRequest(request, "../webapps/coreprogram/dealerlogos", 1024 * 1024); It works fine. But When a user accesses through Internet, this does not work.
6
6942
by: jajoo | last post by:
Hi, I have a problem with using *.jar files with Tomcat 5.0.16. I place the jar in the lib directory of the application but server throws Exception. java.lang.NoClassDefFoundError: javax/servlet/ServletRequest com.oreilly.servlet.MultipartRequest.(MultipartRequest.java:222) com.oreilly.servlet.MultipartRequest.(MultipartRequest.java:109)...
1
7109
by: jajoo | last post by:
Hi everyone, I am trying to send files with multipart/form-date. Everything is ok with the send. But when I am receiving the files I should specify a directory where the files to be saved. The problem is that Tomcat saves the files into %CATALINA_HOME%/bin directory. I am wondering why? Why not into my application directory? The application...
6
9242
dmjpro
by: dmjpro | last post by:
Have a look at my HTML Code and my Java code. I m trying to see the total contents when a form is submitted with enctype=multipart/form-data. <html> <head> <title>Simple File Upload Test</title> </head> <body> <form name = "test_form" method ="POST" enctype="multipart/form-data" action = "../jsp/FileUpload.jsp">
2
5010
by: praveenkumarvpk | last post by:
Hi friends Please help me! Following is my servlet-code import java.util.Enumeration; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import com.oreilly.servlet.MultipartRequest;
1
5577
by: shyaminf | last post by:
hi everybody! iam facing a problem with the transfer of file using servlet programming. i have a code for uploading a file. but i'm unable to execute it using tomcat5.5 server. kindly help me how to execute it using tomcat server5.5. the code is as follows. if you have any other coding regarding this, please send me.it's urgent. import...
0
1285
by: akaley | last post by:
Hi All, Iam using MultiPartRequest class(cos.jar) for Reading the file comtent from Client Machine. My coding is working without any problem in My local system.But in testing server it causes some problem.My local system is Window o/s. Testing Server is UNIX based system.This is the problem iam facing while loading the files: The files...
1
1822
by: akaley | last post by:
Hi All, My system file upload functionality..iam storing file content in DataBase by using Blob data type. But my problem is MultipartRequest is automaticlly store the file in tomcat/bin directory.. Iam using following code; MultipartRequest multi = new MultipartRequest(request, ".",100 * 1024 * 1024); it's storing the file in...
3
3580
oll3i
by: oll3i | last post by:
i try to upload a file using MultipartRequest i want to get the name of the file uploaded with html form and display it on jsp page (just for now to see if it works) in server.log i see Error creating file: java.io.IOException: Corrupt form data: premature ending code i use and it doesnt work try { MultipartRequest mrequest = new...
0
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6277
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2105
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.