mail-archives/mono-osx/2011-February/004074.html

71 строка
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] FtpWebRequest &quot;Not connected&quot;
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20FtpWebRequest%20%22Not%20connected%22&In-Reply-To=1297810736207-3307834.post%40n4.nabble.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004053.html">
<LINK REL="Next" HREF="004030.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] FtpWebRequest &quot;Not connected&quot;</H1>
<B>Miguel de Icaza</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20FtpWebRequest%20%22Not%20connected%22&In-Reply-To=1297810736207-3307834.post%40n4.nabble.com"
TITLE="[Mono-osx] FtpWebRequest &quot;Not connected&quot;">miguel at novell.com
</A><BR>
<I>Wed Feb 23 23:36:33 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="004053.html">[Mono-osx] FtpWebRequest &quot;Not connected&quot;
</A></li>
<LI>Next message: <A HREF="004030.html">[Mono-osx] PerformanceCounter on OS X
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4074">[ date ]</a>
<a href="thread.html#4074">[ thread ]</a>
<a href="subject.html#4074">[ subject ]</a>
<a href="author.html#4074">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>&gt;<i> I am porting a device management application from Windows to OSX and am
</I>&gt;<i> having problems with the FtpWebRequest system. I distilled an example of the
</I>&gt;<i> issue down to the code sample below. When run in OSX an exception is thrown
</I>&gt;<i> stating &quot;Not connected&quot;. This is odd because if I put in the wrong
</I>&gt;<i> credentials then it gives the error: &quot;Server returned an error: 530 Login
</I>&gt;<i> incorrect&quot; which implies that it the &quot;Not connected&quot; error is happening
</I>&gt;<i> after a successful authentication.
</I>
It could be a bug in Mono's implementation, not really an OSX bug.
Try running an OpenSUSE Virtual Machine and running the same test
there, it would help us isolate if this is an OSX-ism, or a Mono-ism.
Miguel
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004053.html">[Mono-osx] FtpWebRequest &quot;Not connected&quot;
</A></li>
<LI>Next message: <A HREF="004030.html">[Mono-osx] PerformanceCounter on OS X
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4074">[ date ]</a>
<a href="thread.html#4074">[ thread ]</a>
<a href="subject.html#4074">[ subject ]</a>
<a href="author.html#4074">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>