TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Gaven Tebogo
NA
1
1.1k
program that compares one directory to another using C#
Mar 9 2015 4:27 PM
Please Help Me How to do this, as soon as possible, its very urgent, Thanks in Advance.
Source : C:\Data
Destination : C:\Backup\Data
Write a program that compares one directory to another "including sub-directories if user requires" and keeps them identical by copying or deleting files
and creating or deleting directories in the destination directory.
-> If a file is different in size or date and time then it should be replaced.
-> If a file is does not exist in the destination folder it must be copied.
-> If a file exists in destination but not source it must be deleted from destination.
-> If a directory does not exist in the destination it must be created.
-> If a directory exists in destination but not in source it must be removed from destination.
-> The whole process must be logged in a text file for viewing later.
-> The viewing of logs must be viewed by an external text editor like notepad etc.
-> Keep the data the user has entered in an xml file for ease of reuse.
-> Show a progress bar of the replication process. Create and use classes where possible. Use c# as the language.
Reply
Answers (
1
)
Excel Vba
find html control in in server side asp .net c#