Jump to content

[WinHTTP] PUT Request


Recommended Posts

Hello, 
 
 
I wanted to send a file with a PUT request but i have no idea how to do that.
 
At the present time i've done that but it doesnt work :-(
 
Global $FileHandle = FileOpen($Filename, 16)
   $oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
   $oHTTP.Open("PUT", "a url" ,False)
   $oHTTP.SetRequestHeader("file",$FileHandle)
   $oHTTP.Send()
 
Thanks in advance
Link to comment
Share on other sites

Link to comment
Share on other sites

  • 5 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...