I’m working on a notepad application, and I’m looking for a way to have it sync file’s to a server. The first ideas I have are ftp, which seems like a clunky approach to me (although it does seem fairly simple) or an sql database.
Is there a better approach to doing this? I know syncing to a server is fairly common, so I’m thinking I must be missing a better approach, since neither of these seem optimal.
If i were you, i’d just create a server which exposes some WCF services that enables you to sync (download/upload text data, login with your username password etc.), and at the server side, store them to a database. if it’s not a very big performance critical project you may also consider using the Entity Framework, which will do most of the “ugly” work for you.