http://bugs.winehq.org/show_bug.cgi?id=9741
Summary: URLDownloadToFile only supports HTTP URL's Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-urlmon AssignedTo: wine-bugs@winehq.org ReportedBy: mail@colinfinck.de
The URLDownloadToFile function (exactly: URLDownloadToFileW) of urlmon.dll only supports HTTP URL's. When I try URLDownloadToFile under Windows XP with FTP URL's, this also works. But it doesn't work with Wine's urlmon.dll.
I did not check if other protocols are also supported by the XP version of URLDownloadToFile, but at least support for FTP URL's is missing in Wine's version.
In the wine/dlls/urlmon/umon.c file on line 1411, I also see that only HTTP functions are used and the protocol is not checked, so I highly assume the bug to be there.