https://bugs.kde.org/show_bug.cgi?id=491547

            Bug ID: 491547
           Summary: sftp transfer speeds are atrociously slow, but on
                    Filezilla super quick
    Classification: Applications
           Product: dolphin
           Version: 24.05.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: andrea.i...@gmail.com
                CC: kfm-de...@kde.org
  Target Milestone: ---

Hi, I don't know if Dolphin is the right project to report this, or if this is
rather a framework/KIO issue, please move to the proper component if I
misreported it (and sorry!)

I needed to copy around 100 files to my Android phone today.

I followed this process to setup an ssh server on the phone, found here:
https://www.reddit.com/r/Tailscale/comments/10v3rz1/comment/j7ga0ul/


   Install Termux from Github (or F-Droid) on the phone you want to SSH into.
Don't use the Play Store version, it doesn't work
    run pkg update and pkg upgrade
    run passwd and set up a password
    run pkg install openssh
# I noticed this step isn't needed since keys will be generated upon openssh
installation (step above)
    run ssh-keygen -A 
    run termux-setup-storage - This will make the app ask for storage
permission
# I learnt that you also need to install the sftp server package as per
https://wiki.termux.com/wiki/Remote_Access#Using_the_SFTP
pkg install openssh-sftp-server
    run sshd

You now have an SSH server running on your device

Now check the connection is successful by doing:

ssh user@<phonesIPaddress> -p 8022 and enter the password chosen on the phone
in termux at the passwd step

If auth is ok, enter pwd:

You should be at /data/data/com.termux/files/home/

Now cd into a dir you would normally copy files into (on your phone), e.g. cd
storage/downloads

Enter pwd again and use the full path
(/data/data/com.termux/files/home/storage/downloads) for Dolphin.

Now open Dolphin and in the URI bar enter:

sftp://user@10.230.230.104:8022/data/data/com.termux/files/home/storage/downloads/

(notice the "user" here is irrelevant in my experience, could be any value or
maybe even omitted)

Enter the passwd if prompted

Now start transferring a bunch of MP3s, like the equivalent of two or three
albums.

File transfer will grind very quickly.

On your phone you can check current sshd processes by entering (in termux) ps
aux | grep sshd. When you close Dolphin/cancel the file transfer, you will see
that this process count goes back down to 1. Otherwise it's like 5 or 6.

Now try to repeat this same experiment, but using Filezilla instead, and
configuring the SFTP connection there. It FLIES.

It took Dolphin more than 10 minutes to transfer <50MB, Filezilla took less
than that to transfer 5 GB (!!!).

There's clearly something wrong somewhere in the way Dolphin handles this ssh
connection.

Thanks


I have a Google Pixel 8 Pro with original ROM, not that it matters IMO

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to