1

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?

László Papp
  • 51,870
  • 39
  • 111
  • 135
Hina Kagiyama
  • 95
  • 1
  • 9
  • possible duplicate of [Qt code to get list of files from ftp server using QNetworkAccessManager](http://stackoverflow.com/questions/14111120/qt-code-to-get-list-of-files-from-ftp-server-using-qnetworkaccessmanager) – Dmitry Sazonov Mar 07 '14 at 13:10

2 Answers2

1

QNetworkAccessManager doesn't support that

DmitryARN
  • 648
  • 3
  • 10
  • 4
    Why its been suggested than, to use qnetworkaccessmanager, if it doesn't have all the basic functionality... Anyway i downloaded and compiled the QFtp under vc11. – Hina Kagiyama Mar 07 '14 at 13:38
0

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.

László Papp
  • 51,870
  • 39
  • 111
  • 135