Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimized File Transfer Using Checksums #3

Open
pratikj697 opened this issue Oct 4, 2024 · 0 comments
Open

Optimized File Transfer Using Checksums #3

pratikj697 opened this issue Oct 4, 2024 · 0 comments

Comments

@pratikj697
Copy link

Problem Statement:
Create a Python script to simulate an optimized file transfer system that compares the checksum of files between two directories and only transfers files that have changed. The goal is to avoid transferring unchanged files to optimize network and disk usage.

Requirements:

  1. File Hashing:
    Compute the checksum (SHA-256) for each file in the source and destination directories.
  2. Transfer Condition:
    If a file in the source directory has a different hash than its counterpart in the destination directory (or is missing), it should be transferred.
  3. Handling Errors:
    Gracefully handle cases where files do not exist in either directory.

Please assign this problem to me under HacktoberFest 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant