Rnlop Posted July 29, 2013 Share Posted July 29, 2013 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 More sharing options...
jaberwacky Posted July 30, 2013 Share Posted July 30, 2013 Do a search on the forums For "WinHTTP Functions"and see if that has what you want. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Rnlop Posted July 31, 2013 Author Share Posted July 31, 2013 Hello, I've done this research before but nothing on put request and sending a file with that request Link to comment Share on other sites More sharing options...
Danyfirex Posted July 31, 2013 Share Posted July 31, 2013 IF the web page has upload API I was easier. Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Rnlop Posted August 30, 2013 Author Share Posted August 30, 2013 IF the web page has upload API I was easier. I know but it's not the case yet... Link to comment Share on other sites More sharing options...
FireFox Posted August 30, 2013 Share Posted August 30, 2013 Edit a little bit the WinHTTP UDF to send a PUT request instead of POST. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now