Em Andamento

Block Level file copy

Hi,

I need to be able to capture the changes between 2 files and save them to a 3rd diff file. Note that only the changes should be saved to these diff file. The catch is that I need this to support both small and large files and both text and binary files.

Here is somemore details on how it should function...

Scenario:

souce file = d:[url removed, login to view]

target file = g:[url removed, login to view]

versioned files = g:[url removed, login to view], [url removed, login to view], [url removed, login to view], etc...

Block level Copy function

============================

[url removed, login to view](src, tgt, append)

src = File to process

tdt = path to store copy of src

append = True/False.

If True append changes from src to tgt

If False create separate diff files with ".bxxx

extention to store each

change. The xxx represents the version.

Example:

if g:[url removed, login to view] does not exist Copy D:[url removed, login to view] to g:[url removed, login to view] and subsequent changes to g:[url removed, login to view], [url removed, login to view], etc...

[url removed, login to view](d:[url removed, login to view], g:[url removed, login to view], false)

Block level Restore function

============================

[url removed, login to view](src, tgt, version)

src = The first copy of the original file

tgt = The path to recreate the original file in

version = the point in time version to restore the file to.

Example:

Restore the 3rdt version of g:[url removed, login to view] to d:[url removed, login to view]

[url removed, login to view](g:[url removed, login to view], d:[url removed, login to view], 3)

I would expect that the solution will handle any file type (text, binary, etc.) The sizes may range from a few KB to 10GB+.

The large files may be ISO images, outlook PST's, NT Backup .bk images, and a variety of other files.

If the parameter "Append" = False Then The differential files (*.bxxx) should contain only the changes. So if I change the original by inserting "Zenu" only Zenu and minimal pointers are saved to the diff file. This is important because as if it is not done I could end up using too much disk space for the changes.

If the parameter "Append" = True Then only append the changes to the target file and do not create additional diff files.

The algorythm should be able to process any files with minimal Memory, and Disk utilization but at the same time be efficient. CPU utilization should be considered as well.

Reagards,

Zenu

Habilidades: .NET, Visual Basic

Ver mais: block level file copy, block copy file, block file copy, block level copy, block level copy windows, file copy block, block files copy, file block copy, copy files block level, file difference block level, block level copy utility, block copy files, binary differential copy, block block file copy, block copying file, block level file level, block level copy net, block file copy net, windows block level file copy, copy blocked file, block level diff, file block level copy, copy file block block, copy changes file net, block level copying

Acerca do Empregador:
( 21 comentários ) Toronto, Canada

ID do Projeto: #123681