[Mono-bugs] [Bug 82009][Maj] New - FtpWebRequest can't download file with path

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 5 04:56:35 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 kayteck_master at o2.pl.

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

--- shadow/82009	2007-07-05 04:56:35.000000000 -0400
+++ shadow/82009.tmp.24299	2007-07-05 04:56:35.000000000 -0400
@@ -0,0 +1,52 @@
+Bug#: 82009
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: Fedora Core 4
+Status: NEW   
+Resolution: 
+Severity: 008 One day
+Priority: Major
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: kayteck_master at o2.pl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: FtpWebRequest can't download file with path
+
+Steps to reproduce the problem:
+1. Create ftp request as follows :
+FtpWebRequest fwr = (FtpWebRequest)FtpWebRequest.Create
+("ftp://exampleftpserver.exampledomain.org/path/file.html");
+fwr.Method=WebRequestMethods.Ftp.DownloadFile;
+fwr.UseBinary = true;
+fwr.Credentials = new NetworkCredential("user","password");
+fwr.KeepAlive = true;
+FtpWebResponse resp = (FtpWebResponse)fwr.GetResponse();
+
+Actual Results:
+VSFTPD Log
+Thu Jul  5 08:40:05 2007 [pid 11891] CONNECT: Client "xxx"
+Thu Jul  5 08:40:06 2007 [pid 11890] [aukcje] OK LOGIN: 
+Client "83.24.249.186"
+Thu Jul  5 08:40:06 2007 [pid 11892] [aukcje] FAIL DOWNLOAD: 
+Client "83.24.249.186", "/aukcje/84/opis.html", 0.00Kbyte/sec
+
+Expected Results:
+Thu Jul  5 08:40:36 2007 [pid 11901] CONNECT: Client "xxx"
+Thu Jul  5 08:40:36 2007 [pid 11900] [aukcje] OK LOGIN: 
+Client "83.24.249.186"
+Thu Jul  5 08:40:37 2007 [pid 11902] [aukcje] OK DOWNLOAD: 
+Client "83.24.249.186", "/home/aukcje/aukcje/84/opis.html", 360 bytes, 
+5.65Kbyte/sec
+
+How often does this happen? 
+Always
+
+Additional Information:
+When I try that code from Windows .NET, I get second log ( Expected ) , 
+when I try from Mono, I get first. The executable is the same. The only 
+difference is downloaded file directory in log, but in requests names are 
+equal!


More information about the mono-bugs mailing list