473,387 Members | 3,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Writing a multipart content parser with .NET

I am looking for an implementation of a multipart content parser for
..NET (http://www.faqs.org/rfcs/rfc2388.html). I suppose that the
HttpWebRequest class uses such a parser in order to extract the
parameters and uploaded files from the request stream. Correct me if
I am wrong but these classes are intended for an internal of the
framework. So my question is what would be the easiest way to
implement such a parser in .NET ?

Thanks,
Darin
Nov 22 '05 #1
2 2380
If I was you I would get the MONO source code and pull out the methods for
upload and see what it does. Someones already done the work for you, you
just need to find the right bits of code.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
"darin dimitrov" <da************@hotmail.com> wrote in message
news:2b**************************@posting.google.c om...
I am looking for an implementation of a multipart content parser for
.NET (http://www.faqs.org/rfcs/rfc2388.html). I suppose that the
HttpWebRequest class uses such a parser in order to extract the
parameters and uploaded files from the request stream. Correct me if
I am wrong but these classes are intended for an internal of the
framework. So my question is what would be the easiest way to
implement such a parser in .NET ?

Thanks,
Darin

Nov 22 '05 #2
If I was you I would get the MONO source code and pull out the methods for
upload and see what it does. Someones already done the work for you, you
just need to find the right bits of code.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
"darin dimitrov" <da************@hotmail.com> wrote in message
news:2b**************************@posting.google.c om...
I am looking for an implementation of a multipart content parser for
.NET (http://www.faqs.org/rfcs/rfc2388.html). I suppose that the
HttpWebRequest class uses such a parser in order to extract the
parameters and uploaded files from the request stream. Correct me if
I am wrong but these classes are intended for an internal of the
framework. So my question is what would be the easiest way to
implement such a parser in .NET ?

Thanks,
Darin

Nov 22 '05 #3

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

Similar topics

0
by: darin dimitrov | last post by:
I am looking for an implementation of a multipart content parser for ..NET (http://www.faqs.org/rfcs/rfc2388.html). I suppose that the HttpWebRequest class uses such a parser in order to extract...
10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
7
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this before (with AOLServer and Tcl) but just can't seem...
2
by: Der tolle Emil | last post by:
Hi! I wrote a little function to send emails which works quite well. I already managed to send attachments correctly (also more than 1 per email) but I am not able to send a HTML mail containing...
0
by: ptraj | last post by:
Dear ppls, I'm doing a small project to extract all messages from outlook by Visual Basic 6.0 and write them into a file(in MBOX format). While accessing messages i able to get headers, body,...
4
by: yoram.ayalon | last post by:
Hi, I need to create a multipart request to UPS manifest upload electronic service. UPS wants the request to consist of a series of headers and bodies, and its not clear how can I use the...
0
by: sachintandon | last post by:
Hello all, Thanks in advance for your help I have a problem in sending emails, my requirement is to send multipart alternative emails with attachments, I'm able to send text with attachments or...
2
by: gezerpunta | last post by:
Hi I used pear api to make this mail but I can t add multipart.My mail structure is like that. part 1: a file part 2: multipart part 1: a file part 2: a file
6
by: fnoppie | last post by:
Hi, I am near to desperation as I have a million things to get a solution for my problem. I have to post a multipart message to a url that consists of a xml file and an binary file (pdf)....
3
by: jeremy.gehring | last post by:
Hey all, OK I'm not much of a PHP programmer; but needs must as they say. I have written AJAX file upload system that uses a PERL CGI script so that a PHP script can get the progress (nifty...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.