An FTP library for C++
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: An FTP library for C++

  1. #1
    Join Date
    Jul 2010
    Posts
    75

    An FTP library for C++

    Does the standard library include functions for making an FTP client application?
    If not, could you recommend a good C++ ftp library that has basic FTP client functions?

  2. #2
    Join Date
    Jan 2009
    Posts
    1,689

    Re: An FTP library for C++

    libcurl. It's not FTP specific, but VERY reliable, it's in use by everyone from amateurs, to Apple

  3. #3
    Join Date
    Mar 2010
    Location
    Melbourne Australia
    Posts
    454

    Re: An FTP library for C++

    if you need advance functionality then look up wxWidgest classes or nokiaQT

  4. #4
    Join Date
    Jul 2010
    Posts
    75

    Re: An FTP library for C++

    libcurl is too complex for me...
    I tried this http://www.codeproject.com/KB/IP/ftpclientclass.aspx
    but it generates the next error whenever I instantiate an object from its namespace:
    |undefined reference to `nsFTP::CLogonInfo::CLogonInfo(std::string const&, unsigned short, std::string const&, std::string const&, std::string const&)'|
    the code:
    Code:
    nsFTP::CLogonInfo logonInfo("localhost", 21, "anonymous",
                                              "anonymous@user.com");

  5. #5
    Join Date
    Mar 2010
    Location
    Melbourne Australia
    Posts
    454

    Re: An FTP library for C++

    you are getting a linking error , if it is visual studio you are using then make sure that you are linking appropriate libs ,

    #pragma commet(libs ,"libcurl.lib")

  6. #6
    Join Date
    Jul 2010
    Posts
    75

    Re: An FTP library for C++

    the error I get is when I use this library: www.codeproject.com/KB/IP/ftpclientclass.aspx
    and not libcurl.

  7. #7
    Join Date
    Mar 2010
    Location
    Melbourne Australia
    Posts
    454

    Re: An FTP library for C++

    most of the code project example use MFC , so Either you know how to program in MFC and be able to resolve linking issues , it is a very wide topic to cover here , post your question in the MFC section AKA visual studio.

  8. #8
    Join Date
    Jul 2010
    Posts
    75

    Re: An FTP library for C++

    oh I thought it was natice c++... my bad

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center