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. Remote file tranfser
Forum Updated to NodeBB v4.3 + New Features

Remote file tranfser

Scheduled Pinned Locked Moved General and Desktop
sshscppscp
5 Posts 3 Posters 5.1k Views 3 Watching
  • 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.
  • _ Offline
    _ Offline
    _Mark_
    wrote on 8 Jul 2015, 10:54 last edited by
    #1

    Hi!
    Is there a native and cross-platform class to transfer files over an SSH channel?
    Currently I just call pscp (on Windows) or scp (on Linux) using QProcess.

    K 1 Reply Last reply 8 Jul 2015, 12:06
    0
    • _ _Mark_
      8 Jul 2015, 10:54

      Hi!
      Is there a native and cross-platform class to transfer files over an SSH channel?
      Currently I just call pscp (on Windows) or scp (on Linux) using QProcess.

      K Offline
      K Offline
      koahnig
      wrote on 8 Jul 2015, 12:06 last edited by
      #2

      @_Mark_

      It depends what require. Did you check out the Network examples?

      Other than that I am not aware off, but there have been similar requests in the past (e.g. this) So, it looks that you are on a standard track.

      There is also a Qssh project set up. However, this is not part of Qt but based on Qt. Unfortunately, it looks that there is no activity for Qt 5 related updates.

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

      _ K 2 Replies Last reply 8 Jul 2015, 14:14
      0
      • K koahnig
        8 Jul 2015, 12:06

        @_Mark_

        It depends what require. Did you check out the Network examples?

        Other than that I am not aware off, but there have been similar requests in the past (e.g. this) So, it looks that you are on a standard track.

        There is also a Qssh project set up. However, this is not part of Qt but based on Qt. Unfortunately, it looks that there is no activity for Qt 5 related updates.

        _ Offline
        _ Offline
        _Mark_
        wrote on 8 Jul 2015, 14:14 last edited by
        #3

        @koahnig

        As far as I understand the network examples work only between two applications. Instead I just need to copy a file from a Qt5 application to another machine which accept SSH connections.

        In the thread you provided they say the Qt framework does NOT provide an SSH implementation so I'm afraid the final answer is: no, you can't use any Qt class to do this.

        The major problem using pscp via QProcess is to handle the user interactions about accepting the fingerprint the first time.

        1 Reply Last reply
        0
        • K koahnig
          8 Jul 2015, 12:06

          @_Mark_

          It depends what require. Did you check out the Network examples?

          Other than that I am not aware off, but there have been similar requests in the past (e.g. this) So, it looks that you are on a standard track.

          There is also a Qssh project set up. However, this is not part of Qt but based on Qt. Unfortunately, it looks that there is no activity for Qt 5 related updates.

          K Offline
          K Offline
          koahnig
          wrote on 8 Jul 2015, 14:21 last edited by
          #4

          @koahnig said:

          There is also a Qssh project set up. However, this is not part of Qt but based on Qt. Unfortunately, it looks that there is no activity for Qt 5 related updates.

          You are right to assume a No. The only lead would be the project referred to before.

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 8 Jul 2015, 21:52 last edited by
            #5

            Hi,

            KIO might also be of interest. Here you can find an article about a good use case.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            2/5

            8 Jul 2015, 12:06

            • Login

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