FTP Client implementation

Hi all,
Can any one can help me in getting FTP client implemenation in c++. I want this code for downloading file via ftp protocol.


thanks in advance
amar
amarzeeAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
KurtVonConnect With a Mentor Commented:
Well, the C version works in C++, for obvious reasons.  It wouldn't be too hard to write a wrapper, I think.  If non-BSD code is okay there is sFTP http://www.geocities.com/SiliconValley/Peaks/5799/sftp.README.html under the GPL.  Keep in mind that you will have to open source any program that uses it.

Also, this is a standalone client.  The objects for FTP transfers exist, but they are designed to work with the interface, so there will still probably be a little work to integrate it with your program.  I don't know of any C++ library for FTP.

Hope this helps.
0
 
AlexFMCommented:
Check out MFC sample FTPTREE.
0
 
KurtVonCommented:
If you need to avoid MFC or windows-specific code, there is the BSD licensed c-only version here: http://www.freshports.org/ftp/ftp-tls/  and, for completeness, here is the code for a simple ftp server: http://packages.qa.debian.org/b/bsd-ftpd.html

Excellent tools for seeing how the transfers are done at the lowest levels.

Hope this helps.
0
 
amarzeeAuthor Commented:
I am looking for c++ implementation which should work on linux/unix environments.

0
 
amarzeeAuthor Commented:
I am looking for c++ implementation compatible in linux/unix platforms
0
All Courses

From novice to tech pro — start learning today.