[Mono-bugs] [Bug 471149] System.UriFormatException thrown when downloading a file from ftp server using FtpWebRequest
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Feb 12 19:01:59 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=471149
User sdasari at rccny.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471149#c7
Surekha Dasari <sdasari at rccny.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |REOPENED
Info Provider|sdasari at rccny.com |
--- Comment #7 from Surekha Dasari <sdasari at rccny.com> 2009-02-12 17:01:58 MST ---
I tested using the same application(source is attached in the bug) on mono
trunk revision 126637. I am getting following exception:
Unhandled Exception: System.UriFormatException: Absolute URI is too short
at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000]
at System.Uri.ParseUri (UriKind kind) [0x00000]
at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000]
at System.Uri..ctor (System.String uriString) [0x00000]
at System.Net.FtpWebRequest.GetRemoteFolderPath (System.Uri uri) [0x00000]
at System.Net.FtpWebRequest.CWDAndSetFileName (System.Uri uri) [0x00000]
at System.Net.FtpWebRequest.ProcessMethod () [0x00000]
at System.Net.FtpWebRequest.ProcessRequest () [0x00000]
Following is the interaction between the server and the client after without
SYN and ACK's:
Server: 220 Microsoft FTP Service
Client: USER anonymous
Server: 331 Anonymous access allowed, send identity (e-mail name) as password.
Client: PASS anon at example.com
Server: 230 Anonymous user logged in.
Client: OPTS utf8 on
Server: 501 option not supported
Client: PWD
Server: 257 "/" is current directory.
Manually running PWD on the server returns following:
257 "/" is current directory.
Ftp server is running on windows machine.
--
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