Thanks very much for the feedback.
ssh and scp access is enabled in my storage box.
I found the log function in TC, here it is:
Code: Select all
2025-05-07 20:14:57.724 HOST:SFTP:get dir: /
2025-05-07 20:15:04.649 SFTP:refresh list
2025-05-07 20:15:04.815 HOST:SFTP:get dir: /
2025-05-07 20:15:10.940 HOST:SFTP:get dir: /haa/x/
2025-05-07 20:15:11.001 SFTP:=====================
2025-05-07 20:15:11.060 SFTP:IP[0]: 2a01:4f8:xxxxxxx
2025-05-07 20:15:11.061 SFTP:IP[1]: 49.12.xxxxx
2025-05-07 20:15:11.062 SFTP:Connecting...: 49.12.xxxxx
2025-05-07 20:15:11.168 SFTP:Algorithm: RSA, Fingerprint: 3d:7b:6f:99:5f:68:53:21:73:15:f9:2e:6b:3a:9f:e3
2025-05-07 20:15:11.169 SFTP:Negotiated algorithms: [ kex=diffie-hellman-group-exchange-sha256; sig=rsa-sha2-512; c2sCipher=aes128-ctr; s2cCipher=aes128-ctr; c2sMAC=hmac-sha2-256; s2cMAC=hmac-sha2-256; c2sComp=none; s2cComp=none; ]
2025-05-07 20:15:11.170 SFTP:Logging in...
2025-05-07 20:15:11.226 SFTP:Password: ********
2025-05-07 20:15:11.228 SFTP:SFTP start...
2025-05-07 20:15:11.283 SFTP:Connect OK!
2025-05-07 20:15:11.284 SFTP:SFTP LIST /x/
2025-05-07 20:15:11.360 SFTP:CONNECT haa
2025-05-07 20:15:15.821 tc:Copy 1 files:///SFTP/haa/x/->/storage/emulated/0/Download/
2025-05-07 20:15:17.252 SFTP:GET /x/20250505 Monatlicher Kontoauszug.pdf
2025-05-07 20:15:17.312 SFTP:GET error: SCPRemoteException: Remote SCP command returned error: '/x/20250505: No such file or directory
Looks like a quoting issue ?
I found a workaround, when I disable "SCP" option in the SFTP plugin on Android then it works:
Code: Select all
2025-05-07 20:12:15.062 HOST:SFTP:checkConnectionAlive: 1
2025-05-07 20:12:15.063 HOST:SFTP:get dir: /haa/x/
2025-05-07 20:12:15.133 SFTP:=====================
2025-05-07 20:12:15.191 SFTP:IP[0]: 2a01:4f8:xxxx
2025-05-07 20:12:15.192 SFTP:IP[1]: 49.12.xxxxx
2025-05-07 20:12:15.193 SFTP:Connecting...: 49.12.xxxx
2025-05-07 20:12:15.312 SFTP:Algorithm: RSA, Fingerprint: 3d:7b:6f:99:5f:68:53:21:73:15:f9:2e:6b:3a:9f:e3
2025-05-07 20:12:15.315 SFTP:Negotiated algorithms: [ kex=diffie-hellman-group-exchange-sha256; sig=rsa-sha2-512; c2sCipher=aes128-ctr; s2cCipher=aes128-ctr; c2sMAC=hmac-sha2-256; s2cMAC=hmac-sha2-256; c2sComp=none; s2cComp=none; ]
2025-05-07 20:12:15.316 SFTP:Logging in...
2025-05-07 20:12:15.368 SFTP:Password: ********
2025-05-07 20:12:15.369 SFTP:SFTP start...
2025-05-07 20:12:15.422 SFTP:Connect OK!
2025-05-07 20:12:15.423 SFTP:SFTP LIST /x/
2025-05-07 20:12:15.490 SFTP:CONNECT haa
2025-05-07 20:12:19.615 tc:Copy 1 files:///SFTP/haa/x/->/storage/emulated/0/Download/
2025-05-07 20:12:21.043 SFTP:GET /x/20250505 Monatlicher Kontoauszug.pdf
2025-05-07 20:12:34.092 HOST:SFTP:disconnect all: haa
2025-05-07 20:12:34.114 SFTP:OFFLINE! xxxxxxxxxxxx.your-storagebox.de
I don't understand this. Does this makes sense to you ?
BTW: hetzner offers 2 ways to connect: port 22 (which I use) and port 23 (which did here not work for me), Maybe here is a difference ?
https://docs.hetzner.com/storage/storage-box/access/access-overview