[Mono-bugs] [Bug 688007] WebClient.OpenRead() fails when trying to access an anonymous ftp site

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 29 08:25:11 EDT 2011



QuickJack . <test051102 at hotmail.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #10 from QuickJack . <test051102 at hotmail.com> 2011-04-29 12:25:10 UTC ---
Hi Gonzalo,

thanks for the quick response. This fixes the main part of the problem.

However, WebClient is still not working! I checked out your changes and made
further tests. As I pointed out in one of my previous posts, there seems to be
a problem with proxy access. If a system proxy is set up, WebClient get's
totally confused. The following list shows how to reproduce the issue:

1. Setup up a system wide proxy
2. Call OpenRead() to open an anonymous ftp connection to a site on the

FtpWebRequest.OpenControlConnection() calls Socket.Connect() to connect to the
proxy server. But instead of using the correct proxy port, it chooses port 21.
As a result, the proxy cannot respond and WebClient.OpenRead() fails.

I am running Ubuntu Maverick but I guess the result should be the same when
running under Suse.

Best regards,

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list