<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    That's useful, and solves the problem. <br>
    <br>
    Also useful (I don't think I had thought of looking at qdbus) are:<br>
    <tt>qdbus org.kde.kdeconnect
      /modules/kdeconnect/devices/<device> isReachable</tt><br>
    and<br>
    <tt>qdbus org.kde.kdeconnect
      /modules/kdeconnect/devices/<device>/sftp isMounted</tt><br>
    <br>
    Thanks<br>
    <br>
    <div class="moz-cite-prefix">On 02/07/16 00:04, Albert Vaca wrote:<br>
    </div>
    <blockquote
cite="mid:CAAQViEvafOqX4tWseoTi5UTp-7EnxucupHvLY4ofFJ3TvLUXrA@mail.gmail.com"
      type="cite">
      <div dir="ltr">There is no command in the kdeconnect-cli tool to
        do so, but you can make a DBus call like this:
        <div><br>
        </div>
        <div><span style="font-family:monospace"><span
              style="color:rgb(0,0,0)">qdbus org.kde.kdeconnect
              /modules/kdeconnect/devices/<DEVICE_ID>/sftp
              org.kde.kdeconnect.device.sftp.mount</span></span></div>
        <div><span style="font-family:monospace"><font color="#000000"><br>
            </font></span></div>
        Albert<br>
        <div><span style="font-family:monospace"><br>
          </span></div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Jul 1, 2016 at 2:19 PM, Joe
          Pearson <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:joepearson100@gmail.com" target="_blank">joepearson100@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p dir="ltr">I usually use the file system browser to copy
              files from the phone using rsync at the command line. So
              it's more natural to start the function from the command
              line. </p>
            <p dir="ltr">More specifically I have an issue where the
              file system function stops working after a while, even
              while copying is in progress, and I need to restart it -
              and this would be quicker via a command. But this issue
              may be specific to my phone which may have limited free
              RAM (sometimes I have to reconnect from the phone, or even
              restart the app). </p>
            <p dir="ltr">As a separate question, are there diagnostic
              logs recorded on the Android or KDE sides? Or a way to get
              diagnostics? </p>
            <p dir="ltr">Thanks </p>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_quote">On 1 Jul 2016 12:43, "Aleix
                  Pol" <<a moz-do-not-send="true"
                    href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>>
                  wrote:<br type="attribution">
                  <blockquote style="margin:0 0 0 .8ex;border-left:1px
                    #ccc solid;padding-left:1ex">
                    <div>On Thu, Jun 30, 2016 at 5:51 PM, Joe Pearson
                      <<a moz-do-not-send="true"
                        href="mailto:joepearson100@gmail.com"
                        target="_blank">joepearson100@gmail.com</a>>
                      wrote:<br>
                      > Is there a command-line way to start the
                      filesystem browse function?<br>
                    </div>
                    Not that I know of. What use case do you have in
                    mind?<br>
                    <div><br>
                      > This isn't a dev question as such - is it OK
                      to ask such questions on this<br>
                      > list?<br>
                    </div>
                    Sure. We also need to know how users use KDE Connect
                    after all.<br>
                    <br>
                    Aleix<br>
                    _______________________________________________<br>
                    KDEConnect mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:KDEConnect@kde.org" target="_blank">KDEConnect@kde.org</a><br>
                    <a moz-do-not-send="true"
                      href="https://mail.kde.org/mailman/listinfo/kdeconnect"
                      rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kdeconnect</a><br>
                  </blockquote>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            KDEConnect mailing list<br>
            <a moz-do-not-send="true" href="mailto:KDEConnect@kde.org">KDEConnect@kde.org</a><br>
            <a moz-do-not-send="true"
              href="https://mail.kde.org/mailman/listinfo/kdeconnect"
              rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kdeconnect</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
KDEConnect mailing list
<a class="moz-txt-link-abbreviated" href="mailto:KDEConnect@kde.org">KDEConnect@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/kdeconnect">https://mail.kde.org/mailman/listinfo/kdeconnect</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>