http://www.csharphelp.com/archives/archive9.html

解决方案 »

  1.   

    谢谢,不过看你以前对别人的回答,隐约间似乎可以支持。用这类ftpClient没有考虑。
    “好像不支持”不能叫做答案啊。
      

  2.   

    http://blog.sunmast.com/Sunmast/archive/2004/07/30/798.aspx
      

  3.   

    三颗红星,说话比5颗的那个果断一些。因此只好将100分给他。
    每个人给一个链接,这个倒是,呵呵。结论:只支持http。或者是误导。
    最后结论:等于仍旧迷茫。酥麻先生能说说理由吗?
      

  4.   

    sigh,WebClient本来就不支持ftp的嘛
    看MSDN的表述:
    The WebClient class provides common methods for sending data to or receiving data from any local, intranet, or Internet resource identified by a URI.The WebClient class uses the WebRequest class to provide access to Internet resources. WebClient instances can access data with any WebRequest descendant registered with the WebRequest.RegisterPrefix method.Note   By default, the .NET Framework supports URIs that begin with http:, https:, and file: scheme identifiers.看最后一段:之支持http,https和file开头的URI,ftp不在里面并且v1.1的.NET没有内置直接对FTP操作的类,如果需要使用那只能根据FTP协议用Socket或者TcpClient自己写一个,或者调用Win API写个
    我给你的那个链接是我自己写的FTP组件类
      

  5.   

    谨受教!
    不过,最后一段,说的是“By Default",依旧有些疑惑。
    俺的msn为[email protected],有空聊聊。谢谢。