How can i download all directory from server recursively. I use WinINet and this problem solve very hard. I interested there is some easy way that download files and folders from ftp on visual-c++?
+1
A:
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.
Amit Kumar
2010-03-25 05:34:50