I like to keep my local music synchronised with my phone so I can just play Bluetooth music in my car without needing the Internet or paying Spotify to listen to music I already have.
I also keep this music synchronised with NAS but that is another topic already covered in an earlier blog. That is done using Rsync which is easy but under Windows and Android, it's not so easily done.
For Windows I use Filezilla and for Android, I use SFTP Server.
Install SFTP Server on Android.
Connect your phone in "file transfer" mode or use WiFi.
Open SFTP Server. Get the local IP being used from the phone's Settings. This likely starts 192 or 10.
Set Password to something. Username can be anything like anonymous.
Install Filezilla on Windows.
Open Filezilla
Under Edit update the Settings how you would like, paying special attention to the Transfers section.
Enter:
- Host: "sftp://<Phone IP number>",
- Username: anonymous,
- Password: <whatever you set up>
- Port: 6789.
Click the Quickconnect button
Note: You may want to filter out files you don't want to transfer like images.
If so, open View->Directory Listing Filters and add a filter like the following:
The 2 panes update shows the local and remote file systems.
Now you can drag and drop from one file system to the other.
You can also set the default action should an existing file be found.
This is done under Transfer->Default file exists action
I set Uploads to Skip file
When finished, turn off file transfer mode on Android and stop the SSH server software.