June 4th, 2011 10:08 AM
#1
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?
June 4th, 2011 07:24 PM
#2
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
June 5th, 2011 08:25 AM
#3
Re: An FTP library for C++
if you need advance functionality then look up wxWidgest classes or nokiaQT
June 5th, 2011 02:59 PM
#4
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");
June 5th, 2011 07:30 PM
#5
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")
June 6th, 2011 05:15 AM
#6
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.
June 6th, 2011 09:27 PM
#7
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.
June 7th, 2011 07:38 AM
#8
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
Forum Rules
Click Here to Expand Forum to Full Width
Bookmarks