QNetworkAccessManager
1)不支持目录创建。
所以还得使用QFtp;
You still need to use QFtp
if you need to list the content of a remote directory, because QNetworkAccessManager
doesn't handle that part yet.
QFtp
has been moved as a standalone module, that you can download or checkout from the gitorious repository: https://qt.gitorious.org/qt/qtftp (click on "Source tree" then "Download master..." to download).