开发者

FTP download directory c++

开发者 https://www.devze.com 2022-12-25 01:59 出处:网络
How can i download all directory from server recursively. I use WinINet and this problem solve very hard. I interested th开发者_如何学JAVAere is some easy way that download files and folders from ftp

How can i download all directory from server recursively. I use WinINet and this problem solve very hard. I interested th开发者_如何学JAVAere is some easy way that download files and folders from ftp on visual-c++?


It should be possible to use FTP mget command. Otherwise, if possible you can zip the whole directory on the server and use FTP get. Else, you can use rsync, which provides the additional functionality of syncing any change you make later on within the directory on the server.

See this discussion for more.

There might be libraries that implement FTP (e.g. Curl), rsync etc. and provide a C++ interface.


messing around with WinINet.dll can be quite painful.
QT has the class QFtp which does all the work for you.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号