Page 1 of 1

File Synchronizer

PostPosted: Sat Mar 02, 2013 10:13 pm
by elrad
Hello All!
I'm thinking about the creation of small app which lets user synchronize the files between the computer and a music player or book reader as an example.
It is basically synchronizing between two or more folders considering the folder on a PC as a source.

Can anyone help me please if this is possible to create such app using Neobook?

Thanks in Advance,
Elrad

Re: File Synchronizer

PostPosted: Sun Mar 03, 2013 3:21 am
by Scherzkeks
Neobook is able to create such a application.

there are several ways how it could work.
In one-way file synchronization, updated files are copied from a 'source' location to one or more 'target' locations, but no files are copied back to the source location.
In two-way file synchronization, updated files are copied in both directions, usually with the purpose of keeping the two locations identical to each other

Conflict detection where a file has been modified on one/both sources.
For conflict detection, the synchronization software needs to keep a database of the synchronized files.
Open Files Support when copying data files that are in-use.

PC <> DEVICE
PC: Check for Files, relative Path, get Filesize, MD5 Hash & Filedate, and more if needed
DEVICE: Check for Files, relative Path, get Filesize, MD5 Hash & Filedate, and more if needed

Compare both if they exists on each place, copy/move/delete depending on the settings you defined.

Re: File Synchronizer

PostPosted: Sun Mar 03, 2013 4:46 am
by dec
Hello to all,

Scherzkeks wrote:PC: Check for Files, relative Path, get Filesize, MD5 Hash & Filedate, and more if needed
DEVICE: Check for Files, relative Path, get Filesize, MD5 Hash & Filedate, and more if needed


If you need to get the MD5 hash (and others SHA*) of a file or a string you can use my npHash plugin, which allow you to do it in a fast and controlled way. Hope this can help you in some manner. ;)

Re: File Synchronizer

PostPosted: Wed Mar 06, 2013 11:04 am
by elrad
Thank you for your help, gents.
Could someone post a sample pub here, I think I'm doing something wrong :(
You can ignore MD5 / Hash.
Thanks