简体   繁体   中英

Qt 5.2.0 ftp and QNetworkAccessManager

I need to be able to create directories on my ftp server.

I know that there's no QFtp in the 5.2.1 qt, so how do I mkdir with QNetworkAccessManager ?

QNetworkAccessManager不支持

Although it is recommended to use QNetworkAccessManager as much as possible, you always fall back to the QtFtp add-on as follows:

QT += ftp

Then, you will be able to use the mkdir method of the QFtp class.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM