C++ FTP Library? [closed]

2019-01-31 04:00发布

I am looking for an FTP Library for C++ to do basic ftp functions like authenticate, change directory, upload files, etc. but I can't seem to find one. I've searched over Google, Sourceforge, and CodeProject (well, there's one complete FTP CLIENT project for Win95 in CodeProject, however I don't need the entire ftp client..), but I only found C# FTP libraries.

Could you guys please suggest me a good one? or maybe an alternative?

Thanks.

fyi: Microsoft Visual C++ 2008 Express Edition is my only IDE, and I prefer precompiled static library (*.lib) that can be statically linked (if any)

8条回答
闹够了就滚
2楼-- · 2019-01-31 04:37

i think wininet.h should be sufficient for visual studio 2008

查看更多
三岁会撩人
3楼-- · 2019-01-31 04:42

libftp (though it's in C)
ftplib (again, looks like C)
libCurl seems to have FTP capabilities.

Finding a C++ implementation might be difficult, but wrapping a C library in C++ classes wouldn't be difficult if you really need a C++ interface.

Edit: Just saw that you prefer a pre-compiled library. If this is an absolute requirement you'll probably have to use a C library as ABI issues will more than likely mean that a pre-compiled C++ library won't work for you.

查看更多
登录 后发表回答