Rnlop Posted July 29, 2013 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
jaberwacky Posted July 30, 2013 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: AutoIt Wiki | Can't find what you're looking for on the Forum? My scripts: Guiscape | Baroque AU3 Code Formatter | MouseHoverCalltips | SciTe Customization GUI | ActiveWindowTrack Toy | Monitor Configuration UDF
Rnlop Posted July 31, 2013 Author Posted July 31, 2013 Hello, I've done this research before but nothing on put request and sending a file with that request
Danyfirex Posted July 31, 2013 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
Rnlop Posted August 30, 2013 Author Posted August 30, 2013 IF the web page has upload API I was easier. I know but it's not the case yet...
FireFox Posted August 30, 2013 Posted August 30, 2013 Edit a little bit the WinHTTP UDF to send a PUT request instead of POST.
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