Вопрос

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 doesn't support that

Другие советы

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top