Results 1 to 4 of 4

Thread: HTTP PUT Method

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Posts
    13

    HTTP PUT Method

    Can anyone please tell me how to use PUT HTTP method ...

    Thank You!!
    swati

  2. #2
    Question is not clear. Can you explain?
    Madhu
    Madhusudana Gorthi [email protected]
    Senior Software Engineer
    www.stgil.com

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Posts
    13
    see.. i am using winsock in VB..
    for downloading files from my server i have used HTTP GET METHOD ...
    now if i want to upload some file on my server i thought HTTP PUT method should be used but the problem is that i dont know how to write a request header using PUT..
    i guess now the question is quite clear... if its not clear yet please do reply..
    reply soon..
    swati

  4. #4
    Addicted Member csammis's Avatar
    Join Date
    Mar 2001
    Location
    /dev/null
    Posts
    226
    Try consulting RFC 2616 (HTTP/1.1), which you can find at www.rfc-editor.org - helped me with constructing headers at one point, although I never used PUT.

    Alternate idea: You may try finding a really small (read "stupid") HTTP server written in VB (there is one at www.freevbcode.com ), and using some prewritten script to send it a PUT header, then looking at what the server receives and building your header based on that.

    Okay, that sounded confusing...I know exactly what I was thinking, but it fell apart between my brain and the keyboard
    Things I've Said:
    "Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
    "Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
    "You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width