I am trying to upload a file to a server using QNetworkAccessManager in Qt 5.0 on CentOS 6.4.
I have tried following a few examples online but none of them work. QFT
Change:
QUrl url2("ftp://example.com");
to
QUrl url2("ftp://example.com/somefile");
It is necessary to point out the link to a file.