[Bug 18243] New: wine iexplore.exe http://www.some.file.com/foobar.exe fails
http://bugs.winehq.org/show_bug.cgi?id=18243 Summary: wine iexplore.exe http://www.some.file.com/foobar.exe fails Product: Wine Version: 1.1.20 Platform: PC URL: ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe OS/Version: Linux Status: NEW Keywords: download, source Severity: minor Priority: P2 Component: programs AssignedTo: wine-bugs(a)winehq.org ReportedBy: austinenglish(a)gmail.com Created an attachment (id=20753) --> (http://bugs.winehq.org/attachment.cgi?id=20753) terminal output While trying out various means of downloading files for my SoC project, I found that UrlDownloadToFile doesn't support ftp protocol, only http. No problem, I figured, we've got an IE implementation, I can use that! but alas: $ wine iexplore.exe ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe fails. The key line appears to be: err:mshtml:before_async_open GetWineURL returned NULL The same occurs for http protocol downloads. Works fine on Windows. Full terminal output attached. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 Jacek Caban <jacek(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek(a)codeweavers.com --- Comment #1 from Jacek Caban <jacek(a)codeweavers.com> 2009-04-27 11:58:20 --- Downloading files is not implemented in builtin IE. I'm not sure what you mean that UrlDownloadToFile doesn't support ftp protocol. It does support ftp protocol and if it doesn't work, it should be fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2009-04-27 12:14:44 --- Created an attachment (id=20755) --> (http://bugs.winehq.org/attachment.cgi?id=20755) testcases on windows Here's a couple stripped down AutoHotKey scripts. urldownloadtofile-ftp.exe - fails in Windows/Wine urldownloadtofile-http.exe - passes in Windows/Wine looking around a bit more, seems the ftp protocol may need to be specially formatted. If I can find something that works on Windows but not Wine, I'll file a new bug. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #3 from Jacek Caban <jacek(a)codeweavers.com> 2009-04-27 12:31:10 --- Sorry, I thought that you mean UrlDownloadToFile function from urlmon.dll (that BTW supported only http protocol until ~1 year ago), not an application with the same name. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2009-04-27 12:58:08 --- (In reply to comment #3)
Sorry, I thought that you mean UrlDownloadToFile function from urlmon.dll (that BTW supported only http protocol until ~1 year ago), not an application with the same name.
No problem. I thought it _was_ using UrlDownloadToFile, but it appears to be using InternetOpenUrl from wininet (attached). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2009-04-27 12:58:35 --- Created an attachment (id=20757) --> (http://bugs.winehq.org/attachment.cgi?id=20757) urldownloadtofile function from AutoHotKey -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hans(a)meelstraat.net --- Comment #6 from Hans Leidekker <hans(a)meelstraat.net> 2009-04-27 15:30:12 --- The immediate problem is that InternetReadFileEx is not implemented for ftp connections. I'll attach a fix. Next problem is that the file is not fully written to disk. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #7 from Hans Leidekker <hans(a)meelstraat.net> 2009-04-27 15:32:01 --- Created an attachment (id=20760) --> (http://bugs.winehq.org/attachment.cgi?id=20760) wininet: Implement InternetReadFileEx for ftp connections. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #8 from Austin English <austinenglish(a)gmail.com> 2009-04-28 02:15:16 --- Thanks for the quick patch. The same thing occurs for http urls. Is that a separate bug (or also caused by the file not being fully written to disk)? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #9 from Hans Leidekker <hans(a)meelstraat.net> 2009-04-28 02:38:03 --- The truncation bug happens with any protocol. What happens is that the last WriteFile call fails with an invalid handle error. If I disable the fd cache in ntdll it succeeds and the file is fully written. A significant thing happening in between is that wininet gets unloaded, but that doesn't close the file handle (it shouldn't, since it's owned by the app). Another interesting fact is that the CloseHandle call following the failed WriteFile call succeeds. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #10 from Hans Leidekker <hans(a)meelstraat.net> 2009-04-28 02:40:37 --- Created an attachment (id=20767) --> (http://bugs.winehq.org/attachment.cgi?id=20767) hack: ntdll: Disable fd cache. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh(a)gmail.com --- Comment #11 from Jerome Leclanche <adys.wh(a)gmail.com> 2009-10-25 17:54:07 --- wine-1.1.32, still fails but a lot more silently now. There is no visual feedback of any kind on whether the file is downloaded, and apparently it's not. adys(a)azura:~/bin/winetest$ wine iexplore.exe ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe fixme:ole:CoResumeClassObjects stub fixme:urlmon:URLMoniker_BindToObject use running object table fixme:shdocvw:BindStatusCallback_OnProgress status code 1 fixme:shdocvw:BindStatusCallback_OnProgress status code 2 fixme:wininet:FtpGetFileSize (0x2, 0x32f7fc) fixme:urlmon:create_object Could not find object for MIME L"application/x-msdownload" fixme:shdocvw:BindStatusCallback_OnProgress status code 5 fixme:urlmon:create_object Could not find object for MIME L"application/x-msdownload" -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #12 from Austin English <austinenglish(a)gmail.com> 2011-09-08 23:19:56 CDT --- Still in wine-1.3.27-416-g0032de5 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 Felix Yan <felixonmars(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |felixonmars(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #13 from Felix Yan <felixonmars(a)gmail.com> 2012-06-18 04:57:43 CDT --- Tested with wine 1.5.6: $ WINEPREFIX=~/.wine_clean wine iexplore.exe ftp://ftp.gnupg.org/gcrypt/binary/s ha1sum.exe fixme:ieframe:ClassFactory_QueryInterface (0x7ed7bb44)->({00000003-0000-0000-c00 0-000000000046} 0x33fc04) fixme:ole:CoResumeClassObjects stub fixme:storage:create_storagefile Storage share mode not implemented. fixme:urlmon:URLMoniker_BindToObject use running object table fixme:wininet:FtpGetFileSize (0x3, 0x33f834) fixme:ieframe:handle_navigation_error Navigate to error page Then following with lots of: fixme:urlmon:create_object Could not find object for MIME L"application/x-msdown load" fixme:ieframe:BindStatusCallback_OnProgress status code 5 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting(a)gmail.com --- Comment #14 from Qian Hong <fracting(a)gmail.com> 2012-06-18 05:14:36 CDT --- (In reply to comment #12)
Still in wine-1.3.27-416-g0032de5
Hi Austin, the URL in the bug title ( http://www.some.file.com/foobar.exe ) seems expired, for me it is just an html file without any downloadable exe file. could you double check and update the bug title to avoid confusing? Regards. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #15 from Jacek Caban <jacek(a)codeweavers.com> 2012-06-18 05:20:58 CDT --- No need for that, it's well known that we don't have download manager-like thing implemented in mshtml/ieframe and any non-HTML-like URL won't work. We already have a few such bugs which should probably be resolved as duplicated. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #16 from Felix Yan <felixonmars(a)gmail.com> 2012-06-18 05:26:49 CDT --- *** Bug 30937 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #17 from Austin English <austinenglish(a)gmail.com> --- In wine-1.7.25: austin(a)debian-home:~$ wine iexplore.exe ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046} fixme:ole:CoResumeClassObjects stub fixme:ntdll:NtLockFile I/O completion on lock not implemented yet fixme:wininet:FtpGetFileSize (0x3, 0x32f74c) fixme:ieframe:handle_navigation_error Navigate to error page fixme:urlmon:create_object Could not find object for MIME L"application/x-msdownload" fixme:ieframe:handle_navigation_error Navigate to error page fixme:wininet:FtpGetFileSize (0x5, 0x32f74c) fixme:ieframe:handle_navigation_error Navigate to error page fixme:urlmon:create_object Could not find object for MIME L"application/x-msdownload" fixme:ieframe:handle_navigation_error Navigate to error page it then opens a IE window with the URL, but doesn't download the file. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18243 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18243 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #18 from super_man(a)post.com --- (In reply to Austin English from comment #17)
In wine-1.7.25:
austin(a)debian-home:~$ wine iexplore.exe ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe
Could also be a dupe. still fails 1.7.55 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #19 from super_man(a)post.com --- fixme:wininet:FtpGetFileSize (0x3, 0x33f74c) fixme:ieframe:handle_navigation_error Navigate to error page fixme:urlmon:create_object Could not find object for MIME L"application/x-msdownload" fixme:ieframe:handle_navigation_error Navigate to error page stil fails 1.9.12 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18243 Vitaly Lipatov <lav(a)etersoft.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lav(a)etersoft.ru -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18243 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #20 from joaopa <jeremielapuree(a)yahoo.fr> --- Bug still occurs with wine-5.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18243 --- Comment #21 from joaopa <jeremielapuree(a)yahoo.fr> --- Bug still occurs with wine-7.0-rc4. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla