Rclone sftp access android 11 directories

oh, i forgot about my wiki
https://forum.rclone.org/t/rclone-on-termux-turn-your-android-phone-into-a-media-server/16064

in this example,
--- the android phone, running rclone inside termux, access over the internet using tailscale
--- the outside machine, running windows, using tailscale to access the android phone.

can do the double rclone
--- on android, this rclone command, that will create an on-the-fly sftp server.
this sftp server can be access using filezilla or any sftp client.
rclone serve sftp /storage/emulated/0/ --user=user --pass=pass --addr=100.116.26.87:2022

on windows laptop, run rclone two ways

rclone.exe copy :sftp,host=100.116.26.87,user=user,pass=vt_IP43PNxR82s7QdG8qtyxqi4Q,port=2022:Download ./Download -v --include=file.ext
INFO  : file.ext: Copied (new)
INFO  :
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Transferred:            1 / 1, 100%
Elapsed time:         4.9s

this example, on laptop, mount the android file system as a drive letter.
access using windows explorer, notepad or most any backup tool
rclone.exe mount :sftp,host=100.116.26.87,user=user,pass=vt_IP43PNxR82s7QdG8qtyxqi4Q,port=2022: x:

image

1 Like