Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

Detecting file changes at block or byte level

Thread view: 
Joshua Jung - 27 Jun 2006 17:29 GMT
Hi, I am currently doing some research on building an app to send files
over a network. We are wanting to only send changes in files if the file
is already on the other computer.

Is there a way to *quickly* detect changes between
the file on the other computer (server) and the computer we are sending
from?

I have looked into polling, but unfortunately, polling just lets us
know if the file has changed. We need a way to detect block level (like on
the hard drive) changes or have the OS (Windows, Unix) send us details on
files that are being changed and where in the file something has been
changed.

Any help, links, or suggestions would be greatly appreciated

and I hope I posted on the write newsgroup... ;)

Josh <><
Rogan Dawes - 27 Jun 2006 17:44 GMT
> Hi, I am currently doing some research on building an app to send files
> over a network. We are wanting to only send changes in files if the file
[quoted text clipped - 15 lines]
>
> Josh <><

rsync
suken - 28 Jun 2006 09:43 GMT
Hi,
  If you just want to decide if you want to copy it or not then you
can compare the created dates for both the files and decide if the
target file is of a later date then copy the file.
  Also there is an algorithm called sliding window algorithm which i
think will help you with the changes in file you can goole it.

Regards,
 Suken Shah


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.