[Mono-devel-list] [PATCH] System.Net.FtpWebRequest

Martin Hinks mhinks at gmail.com
Sun Jun 26 04:24:02 EDT 2005


Hi all,

Attaching the System.Net.FtpWebRequest class that I've been working on.

Notes:
1.) I created it by reading the current .NET 2.0 spec on MSDN
2.) I think the pluggable aspect of WebAsyncResult is broken as it
includes references to HttpWebRequest and HttpWebResponse within it, which is
not pluggable.
3.) Supports standard FTP and encrypted FTP using TLS v1.0 via "AUTH TLS"
4.) I did XML doc for it all - don't know how much that helps....
5.) I haven't modified it so that you don't need to do .RegisterPrefix
(and am not sure how either)

Included:

The main classes (FtpAsyncResult, FtpWebRequest, FtpWebResponse, FtpEnums)
FtpTest.cs - a usage example - takes ftp:// or ftps:// as cmd line arg
and connects, lists the dir etc...
FtpWebRequestTest.cs - a VERY basic test class - it will test you
didn't completely break it but not much else yet - I'll do more later.

Hope it's not too bad for a first contribution.


-- 
Martin Hinks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FtpWebRequest.zip
Type: application/zip
Size: 21842 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050626/e38e1d8f/attachment.zip 


More information about the Mono-devel-list mailing list