Hina Kagiyama
Hina Kagiyama

Reputation: 95

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?

Upvotes: 1

Views: 2793

Answers (2)

László Papp
László Papp

Reputation: 53155

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.

Upvotes: 0

DmitryARN
DmitryARN

Reputation: 648

QNetworkAccessManager doesn't support that

Upvotes: 1

Related Questions