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. android copy text file/folder to server
QtWS25 Last Chance

android copy text file/folder to server

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.2k 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.
  • liewjlsL Offline
    liewjlsL Offline
    liewjls
    wrote on last edited by
    #1

    Hi,

    I'm writing an application and it is running on android platform. This application does create a text file and I need to push it to a server, this server is running on ubuntu. Is it possible to copy/transfer the file from the android to a linux server?

    I'm hoping someone can able to point me to right direction how to do it. I have been google around, but no luck.

    Thanks.

    K 1 Reply Last reply
    0
    • liewjlsL liewjls

      Hi,

      I'm writing an application and it is running on android platform. This application does create a text file and I need to push it to a server, this server is running on ubuntu. Is it possible to copy/transfer the file from the android to a linux server?

      I'm hoping someone can able to point me to right direction how to do it. I have been google around, but no luck.

      Thanks.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @liewjls

      Most likely you can do this with QNetworkAccessManager as well. The download I have already.

      Unfortunately only a download example is available in the doucmentation.

      Vote the answer(s) that helped you to solve your issue(s)

      liewjlsL 1 Reply Last reply
      1
      • K koahnig

        @liewjls

        Most likely you can do this with QNetworkAccessManager as well. The download I have already.

        Unfortunately only a download example is available in the doucmentation.

        liewjlsL Offline
        liewjlsL Offline
        liewjls
        wrote on last edited by
        #3

        @koahnig Thanks. yeah, i got that working on my app as well. But i need to make the result file able to access from the network as well. I'm think to make a folder shareable via samba/web server or ftp??

        what is the best way?

        thanks.

        K 1 Reply Last reply
        1
        • liewjlsL liewjls

          @koahnig Thanks. yeah, i got that working on my app as well. But i need to make the result file able to access from the network as well. I'm think to make a folder shareable via samba/web server or ftp??

          what is the best way?

          thanks.

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @liewjls

          IMHO I would make this a decision of how it has to be accessed otherwise.

          Based to my experience I tend towards FTP. However, I have to admit I am not sure if it the best solution/decision.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          1
          • liewjlsL Offline
            liewjlsL Offline
            liewjls
            wrote on last edited by
            #5

            This has been resolve which i'm using the example from https://stackoverflow.com/questions/23344370/qhttpmultipart-upload-multiple-files.

            thanks

            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