Optimal File Sync is a file synchronization utility that syncs files(like photos) from a folder on the phone to a folder on a Samba/Windows server. It detects when it is on the same network and synchronizes the files then.