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

File Corruption #3133

Closed
cyberduck opened this issue Apr 27, 2009 · 3 comments
Closed

File Corruption #3133

cyberduck opened this issue Apr 27, 2009 · 3 comments
Assignees
Labels
bug duplicate high priority sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

Somebody created the issue

Downloading the same image (tested only with .jpg) twice via SCP causes the downloaded file to appear corrupted.

@cyberduck
Copy link
Collaborator Author

d2bd41a commented

Steps to replicate:

  1. Download file into a download directory where an identically named file exists.
  2. Verify size of downloaded file.
  3. Re-download file to the same directory.
  4. Verify size of file again.

Expected results:

  1. Downloaded file is identical to the file in the FTP.
  2. File size will be equal.
  3. Re-downloading the file will not affect the downloaded file, assuming the FTP file hasn't changed.

Actual results:

  1. Downloaded file is different from the file in the FTP.
  2. File size of the downloaded file is 0 (zero).
  3. Re-downloading the file fixes the downloaded file.

This bug also manifests when downloading multiple files, with almost always displaying this error on one file only.

@cyberduck
Copy link
Collaborator Author

bec7e03 commented

I'm using Version 3.2 (4648).

For some reason, I was plagued by this zero byte length file corruption issue yesterday -- quite a few times actually. Don't recall ever encountering it before. At one point, I even inadvertently checked one of these corrupted files into SVN without having noticed the corruption. Fortunately, I had a back up.

I cannot verify that the steps described by Andres are those that caused this to happen repeatedly yesterday.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Fixed. See #3252. Nightly build available.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug duplicate high priority sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants