FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to read/to download attachment on an URI?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to read/to download attachment on an URI? [message #172616 is a reply to message #172586] Tue, 22 February 2011 08:01 Go to previous messageGo to previous message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma:
Senior Member
On 2/22/2011 2:38 AM, n00m wrote:
> ==================================================
> Btw in VBA it can be done even (much) easier:
> ==================================================
>
> Sub w2()
> Dim o As New WinHttp.WinHttpRequest
> o.Open "GET", "http://stooq.com.ua/q/d/?s=wig20", False
> o.Send
> o.Open "GET", "http://stooq.com.ua/q/d/l/?s=wig20&i=d", False
> o.Send
> MsgBox o.ResponseText
> Set o = Nothing
> End Sub
>
> ==================================================

Hi,

Glad you figured it out.
SO it was the Session that was demanded to proceed? That is quite common
indeed.

About VBA being "much easier": It seem to me VBA is sending cookies as a
default setting when using WinHttp.WinHttpRequest.
I am not sure I would classify that behavior as "much easier". It is
just "much easier" in this case.
Personally I like the detailed control one has when using CURL.

Regards,
Erwin Moller

--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cake PHP RAD Framework
Next Topic: 500. Turbo Sort
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 03:36:22 GMT 2024

Total time taken to generate the page: 0.03656 seconds