> I used both CreateUrlMoniker() and CreateUrlMonikerEx().
>
> I originally used URLDownloadToFile(), which works great for
> everything except for cases when the web site sends the file, such as
> from web based email with a file attachment.
>
> For example Hotmail sends the file with a URL similar to this.
> http://64.4.22.250/cgi-bin/getmsg/test.doc?curmbox=F143938599&;
> a=9028e9ed348aeb1e2152cc3450e09d65&msg=MSG1074019584.26&start=
> 306925&len=33024&mimepart=5&disk=64.4.22.68_d1453&login=cord02
> &domain=hotmail%2ecom&_lang=EN&country=US
>
> URLDownloadToFile, does not download the file, but downloads the HTML
> page the file is sent from.

Have you tried other alternatives?  WinInet is an easy to use API.  Also,
there is cURL which I have not personally used, but I have heard that works
perfectly and is easy to use.

-------------
Ehsan Akhgari

Farda Technology (www.farda-tech.com)

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

That which an age feels to be evil is usually an untimely after-echo of that
which was formerly felt to be good - the atavism of an older ideal.
-Beyond Good And Evil, F. W. Nietzsche





Reply via email to