[Mono-bugs] [Bug 81425][Maj] New - ContenLength of FtpWebResponse is always -1

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Apr 22 09:00:21 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by marduk at k-d-w.org.

http://bugzilla.ximian.com/show_bug.cgi?id=81425

--- shadow/81425	2007-04-22 09:00:21.000000000 -0400
+++ shadow/81425.tmp.17875	2007-04-22 09:00:21.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 81425
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: marduk at k-d-w.org               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ContenLength of FtpWebResponse is always -1
+
+Description of Problem:
+The ContentLength property of a FtpWebResponse instance is always -1.
+
+Steps to reproduce the problem:
+1. Download and compile the sample
+2. Run e.g. 'mono ./FtpSample.exe ftp://ftp.gnu.org/gnu/bison/bison-2.3.tar.gz'
+
+Actual Results:
+You see negative numbers:
+-1024
+-2048
+-2880
+-3904
+-4320
+-5344
+
+Expected Results:
+The download progress (numbers between 0 and 1) should be displayed
+
+How often does this happen? 
+Always
+
+Additional Information:
+It works with Microsoft's .NET Framework
+Has been tested with mono 1.2.3.1 and 1.2.4.0


More information about the mono-bugs mailing list