Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

HTTP PUT Method and IIS

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Can IIS and RAS coexist on same server?  
Author Message
anonymous315

External


Since: Nov 04, 2003
Posts: 9



(Msg. 1) Posted: Wed Feb 25, 2004 5:31 pm
Post subject: HTTP PUT Method and IIS
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello. To make use of the HTTP PUT method on IIS, do I need to configure or install anything special?

Thank you.

Ron Sochanski

 >> Stay informed about: HTTP PUT Method and IIS 
Back to top
Login to vote
netmongrel

External


Since: Feb 03, 2004
Posts: 36



(Msg. 2) Posted: Thu Feb 26, 2004 12:26 pm
Post subject: Re: HTTP PUT Method and IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ron Sochanski wrote:
 > To make use of the HTTP PUT method on IIS, do I need to
 > configure or install anything special?

Nope, but you will need a script to read/manipulate the data.

--
Net<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: HTTP PUT Method and IIS 
Back to top
Login to vote
anonymous315

External


Since: Nov 04, 2003
Posts: 9



(Msg. 3) Posted: Thu Feb 26, 2004 12:26 pm
Post subject: Re: HTTP PUT Method and IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

----- Net Mongrel wrote: -----

Ron Sochanski wrote:
  > To make use of the HTTP PUT method on IIS, do I need to
  > configure or install anything special?

Nope, but you will need a script to read/manipulate the data.

--
Net

Thanks for responding!

Could you please provide (i.e., point me in the direction of) such a script (for reading/manipulating HTTP PUT data)?

Thank you.

Ron Sochanski<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: HTTP PUT Method and IIS 
Back to top
Login to vote
netmongrel

External


Since: Feb 03, 2004
Posts: 36



(Msg. 4) Posted: Thu Feb 26, 2004 5:56 pm
Post subject: Re: HTTP PUT Method and IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ron Sochanski wrote:
 > ----- Net Mongrel wrote: -----
 >
 > Ron Sochanski wrote:
  > > To make use of the HTTP PUT method on IIS, do I need to
  > > configure or install anything special?
 >
 > Nope, but you will need a script to read/manipulate the data.
 >
 > Thanks for responding!
 >
 > Could you please provide (i.e., point me in the direction of) such a
 > script (for reading/manipulating HTTP PUT data)?

That all depends on what you're trying to achieve, but to test your form is
sending meaningful data:

<%
dim x
For each x in Request.Form
Response.Write x & " = " & Request.Form(x) & "<br>"
Next
%>

e&oe

--
Net<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: HTTP PUT Method and IIS 
Back to top
Login to vote
anonymous315

External


Since: Nov 04, 2003
Posts: 9



(Msg. 5) Posted: Thu Feb 26, 2004 5:56 pm
Post subject: Re: HTTP PUT Method and IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I've been attempting to use HttpSendRequest in a VB6 application to perform an HTTP PUT to a Windows 2000 Server Web server (IIS 5.0). The code looks something like:

Public Declare Function HttpOpenRequest Lib "wininet.dll" Alias "HttpOpenRequestA" (ByVal hConnect As Long, ByVal sVerb As String, ByVal sObjectName As String, ByVal sVersion As String, ByVal sReferer As String, ByVal sAcceptTypes As String, ByVal lFlags As Long, ByVal lContext As Long) As Long

Public Declare Function HttpSendRequest Lib "wininet.dll" Alias "HttpSendRequestA" (ByVal hRequest As Long, ByVal sHeaders As String, ByVal lHeadersLength As Long, ByVal sOptional As String, ByVal lOptionalLength As Long) As Integer
..
..
..

hHTTPOpenRequestHandle = HttpOpenRequest(hInternetConnectHandle, "PUT", "/test.txt", sVersion, sReferrer, sAcceptTypes, lFlagsHttpOpenRequest, lContextHttpOpenRequest)

iHttpSendRequestEx = HttpSendRequest(hHTTPOpenRequestHandle, "", 0, "Test_string", Len("Test_string"))

When I run this code, HttpSendRequest returns TRUE as desired, indicating (I believe) that the request was sent to the Web server machine. But the file test.txt does not get written to the machine! What am I doing wrong? Please help or advise where I might find help.

Thank you.

Ron Sochanski
 >> Stay informed about: HTTP PUT Method and IIS 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
iis 5.0;method=post - Products: IIS 5.0 Windows 2000 Advanced Server ASP pages I have an application that behaves differently on 2 web servers. we have a simple web form that collects information from the user. on the form HTML tag, the parameters....

PUT method not implement in IIS6.0 - We have implemented HTTP/1.1 PUT method in our network scanner to store image file into IIS 5.0. Currently, when we tried this method to IIS 6.0 in Windows Server 2003, our device received "501 Not implemented". Does it mean that IIS 6.0 no lon...

Intermittent 401 results on GET method (IIS 5.0) - Hi. I'm getting intermittent 401 errors in IIS 5.0 logs on a W2K SP3 server. Consecutive GET methods, often within the same minute and for what looks like the same user, return HTTP 200 results (status ok), then there are intermittent HTTP 401..

Host Headers method - Is this the correct method for setting up IIS for use with host headers? I'm guessing that as i'm using a sigle IP address that each website needs to be on a seperate port - eg not 80. 1. Create website 2. Give website unique port reference. 3. Enter...

PUT method returns 501 error - IIS 5 / Windows 2000 - PUT method returns 501 (Not Implemented) error. We are using URLScan to set IIS properties. We enable PUT with URLScan but still get 501 error. Directory permissions appear to be correct (write enabled). Documentation says..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]