I was just wondering, is there a way to get HttpRequest to download a file without using internet explorer's cache folder? I currently use this function to download and save hundreds of files to my hard drive, but I noticed that every file it downloads also ends up in ie's cache folder. Normally it wouldn't be a big deal but the sheer number of files takes up a lot of space. I've tried the SaveAs option along with Resume, but both of them leave duplicates in that folder. Is there an option to only save the file in one specific place? Or do I have to tweak internet explorer's options?

[Func] HTTPRequest: for Web APIs [AHK-B + AHK-L+Unicode+x64]
Started by
VxE
, Jun 14 2011 05:19 AM
380 replies to this topic
Okay, I fixed it.
Turns out I just needed to add these to the options:
+DONT_CACHE +NO_CACHE_WRITE
A quick look at the code and those two things jumped out at me
Thanks for this excellent function VxE! Keep up the good work!
#377
-
Posted 15 August 2014 - 04:13 PM
![[Func] HTTPRequest: for Web APIs [AHK-B + AHK-L+Unicode+x64]: post #377](http://autohotkey.com/board/public/style_images/ortem/icon_share.png)
Someone please help me. I am trying to post a reques and write source into a file but i am getting error. posting here my code. please tell me what i am doing wrong?
URL := "http://result.biselahore.com/Home/Result" data := "degree=HSSC&rollNum=45654&session=2&year=2007" Headers= (LTRIM Host: result.biselahore.com Cookie: ASP.NET_SessionId=cvqbpb3e3uq1pr4aacbeakqv Connection: keep-alive Content-Type: application/x-www-form-urlencoded ) httprequest( url, data, headers, "+Flag: INTERNET_FLAG_NO_COOKIES `n >MyResult.html" ) #include HTTPRequest.ahk
#378
-
Posted 18 December 2014 - 10:33 AM
![[Func] HTTPRequest: for Web APIs [AHK-B + AHK-L+Unicode+x64]: post #378](http://autohotkey.com/board/public/style_images/ortem/icon_share.png)

#380
-
Posted 03 September 2015 - 06:34 PM
![[Func] HTTPRequest: for Web APIs [AHK-B + AHK-L+Unicode+x64]: post #380](http://autohotkey.com/board/public/style_images/ortem/icon_share.png)