https://bugzilla.novell.com/show_bug.cgi?id=327005

           Summary: FtpWebRequest listRequest is null
           Product: Mono: Runtime
           Version: unspecified
          Platform: i686
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: io-layer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: Development


Description of Problem:
        public void ListFiles(string listUrlIn)

        {

            string listUrl = listUrlIn + serverDirectoryTextBox.Text;

            PrintMessage("listUrlIn = " + listUrlIn + "|" + "listUrl = " +
listUrl);

            StreamReader reader = null;

            try

            {

                FtpWebRequest listRequest =

                    (FtpWebRequest)WebRequest.Create(listUrl);
                    PrintMessage("here");
                    PrintMessage(listRequest.RequestUri.ToString());
                   if (listRequest.ContentLength == 0)
                   {
                                listBoxErrors.Items.Add("listRequest is null =
"+listRequest.RequestUri.ToString());
                                return;
                   }

Steps to reproduce the problem:
1. execute the code with 
listUrlIn = ftp://localhost//root/|listUrl = ftp://localhost//root//
2. 


Actual Results:FtpWebRequest listRequest is null


Expected Results:not null


How often does this happen? whenever I use Fedora 7 mono 


Additional Information: works under Visual Studio 2005 .NET 2.0


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to