CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2001
    Posts
    71

    Connecting to a FTP with C#???

    Hi!

    I check the MSDN Library but I can't find any infos about: how to connect to and FTP...
    I need also infos how get folders names from the ftp....

    Have any one experience which class can I use to connect to an FTP??


    THX!!!

  2. #2
    Join Date
    Jun 2002
    Location
    Philadelphia, PA
    Posts
    85
    Other than using a web-browser control, I don't believe there is native FTP support in the CLR. If you check out the System.Net namespace, however, there is code for doing sockets. For reference, you'll need to check out the RFC for it. I believe it is RFC959, but it may be obsoleted by another rfc. Here is a hypertext copy of the RFC: http://www.w3.org/Protocols/rfc959/

  3. #3
    Join Date
    Oct 2001
    Posts
    71
    CPCericola: thx!

    thats helps me alote!!



    gicio

  4. #4
    Join Date
    Oct 2001
    Posts
    71
    HI!

    Is there any open source project available that write a FTP client in C#?


    gicio

  5. #5
    Join Date
    Jul 2002
    Location
    .NET 2.0/.NET 3.0/.NET 3.5 VS2005/VS2008
    Posts
    284
    I don't see any need to make native FTP support yourself... there is a webmodule for this in the CLR.
    I don't know the name out of my bear-head, but that one is complete and a lot easier to use.

    I also guess that opensource projects with ftp support written in C# are very rear... But you can always try to search for it on google or some other search-engine.
    WM.

    What about weapons of mass construction?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured