473,378 Members | 1,543 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,378 software developers and data experts.

HTTP Posting

Nak
Hi there,

I was wondering if anyone had any examples of doing a HTTP post to a
specific IP Address and Port, I need the post to contain several text fields
and 1 binary data field. Thanks in advance for any help, pointing me in the
right direction would be most appreciative. Thanks again!

Nak.
Nov 20 '05 #1
8 998
Dim myClient As New System.Net.WebClient

myClient.UploadValues("121.121.121.121", CollectionOfValuePairs)

HTH
--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl...
Hi there,

I was wondering if anyone had any examples of doing a HTTP post to a
specific IP Address and Port, I need the post to contain several text fields and 1 binary data field. Thanks in advance for any help, pointing me in the right direction would be most appreciative. Thanks again!

Nak.

Nov 20 '05 #2
Try the HTTPWebRequest Class , I think this will do it, it supports POST,
GET and PUT. requests

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:Oj**************@TK2MSFTNGP11.phx.gbl...
Hi OHM,

This uploads strings? I need to be able to upload an image with this
also in the same upload. Any ideas? Thanks for your help OHM.

Nak.

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...
Dim myClient As New System.Net.WebClient

myClient.UploadValues("121.121.121.121", CollectionOfValuePairs)

HTH
--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl...
Hi there,

I was wondering if anyone had any examples of doing a HTTP post to a specific IP Address and Port, I need the post to contain several text

fields
and 1 binary data field. Thanks in advance for any help, pointing me
in the
right direction would be most appreciative. Thanks again!

Nak.



Nov 20 '05 #3
Nak
Hi OHM,

This uploads strings? I need to be able to upload an image with this
also in the same upload. Any ideas? Thanks for your help OHM.

Nak.

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Dim myClient As New System.Net.WebClient

myClient.UploadValues("121.121.121.121", CollectionOfValuePairs)

HTH
--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl...
Hi there,

I was wondering if anyone had any examples of doing a HTTP post to a
specific IP Address and Port, I need the post to contain several text

fields
and 1 binary data field. Thanks in advance for any help, pointing me in

the
right direction would be most appreciative. Thanks again!

Nak.


Nov 20 '05 #4
Nak
BTW, what do you do with this 1 hand of yours? Life must be very
difficault?!?!

Nak.

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:eg**************@TK2MSFTNGP12.phx.gbl...
Try the HTTPWebRequest Class , I think this will do it, it supports POST,
GET and PUT. requests

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:Oj**************@TK2MSFTNGP11.phx.gbl...
Hi OHM,

This uploads strings? I need to be able to upload an image with this
also in the same upload. Any ideas? Thanks for your help OHM.

Nak.

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Dim myClient As New System.Net.WebClient

myClient.UploadValues("121.121.121.121", CollectionOfValuePairs)

HTH
--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl...
> Hi there,
>
> I was wondering if anyone had any examples of doing a HTTP post to a > specific IP Address and Port, I need the post to contain several
text fields
> and 1 binary data field. Thanks in advance for any help, pointing
me in the
> right direction would be most appreciative. Thanks again!
>
> Nak.
>
>



Nov 20 '05 #5
Nak
Thanks, I shall take a look man ;-)

Nak.

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:eg**************@TK2MSFTNGP12.phx.gbl...
Try the HTTPWebRequest Class , I think this will do it, it supports POST,
GET and PUT. requests

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:Oj**************@TK2MSFTNGP11.phx.gbl...
Hi OHM,

This uploads strings? I need to be able to upload an image with this
also in the same upload. Any ideas? Thanks for your help OHM.

Nak.

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Dim myClient As New System.Net.WebClient

myClient.UploadValues("121.121.121.121", CollectionOfValuePairs)

HTH
--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl...
> Hi there,
>
> I was wondering if anyone had any examples of doing a HTTP post to a > specific IP Address and Port, I need the post to contain several
text fields
> and 1 binary data field. Thanks in advance for any help, pointing
me in the
> right direction would be most appreciative. Thanks again!
>
> Nak.
>
>



Nov 20 '05 #6
Yes, it is, but maybe I will get my reward in heaven, there I shall have
both hands.

Regards --

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:ex**************@TK2MSFTNGP11.phx.gbl...
BTW, what do you do with this 1 hand of yours? Life must be very
difficault?!?!

Nak.

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message news:eg**************@TK2MSFTNGP12.phx.gbl...
Try the HTTPWebRequest Class , I think this will do it, it supports POST,
GET and PUT. requests

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:Oj**************@TK2MSFTNGP11.phx.gbl...
Hi OHM,

This uploads strings? I need to be able to upload an image with
this also in the same upload. Any ideas? Thanks for your help OHM.

Nak.

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in

message
news:%2****************@TK2MSFTNGP12.phx.gbl...
> Dim myClient As New System.Net.WebClient
>
> myClient.UploadValues("121.121.121.121", CollectionOfValuePairs)
>
> HTH
> --
>
> OHM ( Terry Burns )
> . . . One-Handed-Man . . .
>
>
> "Nak" <a@a.com> wrote in message
> news:u9**************@TK2MSFTNGP10.phx.gbl...
> > Hi there,
> >
> > I was wondering if anyone had any examples of doing a HTTP
post to
a
> > specific IP Address and Port, I need the post to contain several

text > fields
> > and 1 binary data field. Thanks in advance for any help, pointing

me
in
> the
> > right direction would be most appreciative. Thanks again!
> >
> > Nak.
> >
> >
>
>



Nov 20 '05 #7
Nak
Indeed you shall! :-)

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:uo**************@TK2MSFTNGP12.phx.gbl...
Yes, it is, but maybe I will get my reward in heaven, there I shall have
both hands.

Regards --

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:ex**************@TK2MSFTNGP11.phx.gbl...
BTW, what do you do with this 1 hand of yours? Life must be very
difficault?!?!

Nak.

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in

message
news:eg**************@TK2MSFTNGP12.phx.gbl...
Try the HTTPWebRequest Class , I think this will do it, it supports POST, GET and PUT. requests

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"Nak" <a@a.com> wrote in message
news:Oj**************@TK2MSFTNGP11.phx.gbl...
> Hi OHM,
>
> This uploads strings? I need to be able to upload an image with

this
> also in the same upload. Any ideas? Thanks for your help OHM.
>
> Nak.
>
> "One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in
message
> news:%2****************@TK2MSFTNGP12.phx.gbl...
> > Dim myClient As New System.Net.WebClient
> >
> > myClient.UploadValues("121.121.121.121", CollectionOfValuePairs)
> >
> > HTH
> > --
> >
> > OHM ( Terry Burns )
> > . . . One-Handed-Man . . .
> >
> >
> > "Nak" <a@a.com> wrote in message
> > news:u9**************@TK2MSFTNGP10.phx.gbl...
> > > Hi there,
> > >
> > > I was wondering if anyone had any examples of doing a HTTP post
to
a
> > > specific IP Address and Port, I need the post to contain several

text
> > fields
> > > and 1 binary data field. Thanks in advance for any help,

pointing me
in
> > the
> > > right direction would be most appreciative. Thanks again!
> > >
> > > Nak.
> > >
> > >
> >
> >
>
>



Nov 20 '05 #8
Hi Nak,

In addition, I think you may try to take a look at the link below.
http://www.csharpfriends.com/Article...?articleID=115
Download And Upload A File Using C#

WebClient.UploadData Method [C#]
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemnetwebclientclassuploaddatatopic.asp

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 20 '05 #9

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

Similar topics

2
by: Chumley the Walrus | last post by:
A week or so ago, I needed to find the HTTP_REFERER environment variable to check and see if a user is coming from a certain website: If Request.ServerVariables("HTTP_REFERER")_ =...
6
by: A.M-SG | last post by:
Hi, I have an aspx page at the web server that provides PDF documents for smart client applications. Here is the code in aspx page that defines content type: Response.ContentType =...
1
by: Juan Dent | last post by:
Hi, The Request.SaveAs method stores in a file the complete HTTP request including the HttpVersion. However when I try to reproduce in memory the same thing, I cannot find the "HTTP/1.1"...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
13
by: RHPT | last post by:
I am wanting to capture the XML posted by an InfoPath form with .NET, but I cannot figure out how to capture the XML stream sent back by the InfoPath form. With Classic ASP, I could just create an...
5
by: rk325 | last post by:
Yes, I've seen many posts about this type of error, and none of the solutions people applied worked for me. So please read this one carefully and help me if you can. I have a web service...
2
by: Praveen | last post by:
Hi All, I have made a webservice in C# and it works fine in my machine. I ran into a crazy problem when I wanted to deploy it in windows 2003 server. I have run "aspnet_regiis.exe -i" to make...
6
by: Clif | last post by:
Hi, I would like to find out exactly what is being sent when a web page uses the post request method. My thought was to use the webbrowser control together with the HTTPWebRequest class, but am...
8
by: Tim Reynolds | last post by:
Our .Net application calls a web method of aplpication 2 that resides on their Apache server. When I as a developer C#, Studios 2003, make the call to their web method from my desktop, I receive no...
5
by: David Lozzi | last post by:
Howdy, I wrote a web service in .Net for my customer. My customer has another vendor who now has to consume it but they are not using Visual Studio. Most of their pages are jsp, and they said...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.