Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.15.2 QNetworkAccessManager FTP client connection problem to local Ubuntu server
Qt 6.11 is out! See what's new in the release blog

Qt 5.15.2 QNetworkAccessManager FTP client connection problem to local Ubuntu server

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    duygu
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      This useful?
      https://stackoverflow.com/questions/16877363/file-upload-error-with-qnetworkaccessmanager

      1 Reply Last reply
      1
      • D Offline
        D Offline
        duygu
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          LuisGomes
          wrote on last edited by
          #4

          I'm having a similar issue with NetworkAccessManager uploading a file to an FTP, i'm getting "QNetworkReply::ContentAccessDenied".
          Have you found a solution?

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved