Qt 5.15.2 QNetworkAccessManager FTP client connection problem to local Ubuntu server
-
Hello All,
Having a problem with my FTP client that I've built with Qt 5.15.2. This client will update the .bin files of the Ubuntu FTP server. So far;-
I've installed an FTP server on Ubuntu 20.04 with VSFTPD, tested it with FileZilla both with username/password and anonymously. It's working well.
-
As a second step, I've built an FTP client with Qt 5.15.2 QNetworkAccessManager, tested it with a web-based FTP server, and connected without any error message. Uploaded a random file.
-
Finally now, trying to connect with my FTP Client to the Ubuntu server with no success. Receiving the below error message:
QNetworkReply::ContentOperationNotPermittedError
Do you have any suggestions about it? Is there any chronic issue with Qt for FTP clients/servers? Especially local ones?
Thanks in advance.
-
-
-
Thanks for your reply, I have used the QUrl with and without the file name in it. None of them had success. But I haven't tested QFTP. And I'm not sure if this advice is for speeding up the QFTP or making work QNetworkAccessManager? Should I come to terms with the QNetworkAccessManager version never works?