[Mono-bugs] [Bug 598908] New: Error in FTP EnableSsl

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 22 11:00:01 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=598908

http://bugzilla.novell.com/show_bug.cgi?id=598908#c0


           Summary: Error in FTP EnableSsl
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: rickgross at mac.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

After adding the "EnableSsl" & "UsePassive" to my FTP code:

    {
            FtpWebRequest result = (FtpWebRequest)FtpWebRequest.Create(URI);
                //Set the login details
                result.Credentials = GetCredentials();
                result.Timeout = 60000;    //RJG 3/19/2010
                //Do not keep alive (stateless mode)
                result.KeepAlive = false;
            result.EnableSsl = true;   //RJG 4/16/2010
            result.UsePassive = true;  //RJG 4/16/2010
            return result;
    }

The following LIne:
FtpWebResponse response = (FtpWebResponse)ftp.GetResponse()

Throws an error:
Mon Apr 19 08:55:40 devPad
UIKitApplication:com.cognitopia.pocketpictureplanner[0xcc36][8407] <Notice>:
Error in SyncNow - System.NotImplementedException: The requested feature is not
implemented.
Mon Apr 19 09:32:45 devPad
UIKitApplication:com.cognitopia.pocketpictureplanner[0xd99f][8514] <Notice>:  
at System.Net.FtpWebRequest.ChangeToSSLSocket
(System.Net.Sockets.NetworkStream& stream) [0x00000] in <filename unknown>:0 
Mon Apr 19 09:32:45 devPad
UIKitApplication:com.cognitopia.pocketpictureplanner[0xd99f][8514] <Notice>:  
at System.Net.FtpWebRequest.InitiateSecureConnection
(System.Net.Sockets.NetworkStream& stream) [0x00000] in <filename unknown>:0 
Mon Apr 19 09:32:45 devPad
UIKitApplication:com.cognitopia.pocketpictureplanner[0xd99f][8514] <Notice>:  
at System.Net.FtpWebRequest.Authenticate () [0x00000] in <filename unknown>:0 
Mon Apr 19 09:32:45 devPad
UIKitApplication:com.cognitopia.pocketpictureplanner[0xd99f][8514] <Notice>:  
at System.Net.FtpWebRequest.OpenControlConnection () [0x00000] in <filename
unknown>:0 
Mon Apr 19 09:32:45 devPad
UIKitApplication:com.cognitopia.pocketpictureplanner[0xd99f][8514] <Notice>:  
at System.Net.FtpWebRequest.ProcessMethod () [0x00000] in <filename unknown>:0 
Mon Apr 19 09:32:45 devPad
UIKitApplication:com.cognitopia.pocketpictureplanner[0xd99f][8514] <Notice>:  
at System.Net.FtpWebRequest.ProcessRequest () [0x00000] in <filename unknown>:0 

Reproducible: Always

Steps to Reproduce:
1. EnableSSL = true
2.
3.

-- 
Configure bugmail: http://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