Navigation Menu

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

Failure uploading file with diacritic in filename #13723

Closed
jerry-ne opened this issue Sep 13, 2022 · 2 comments · Fixed by #13974
Closed

Failure uploading file with diacritic in filename #13723

jerry-ne opened this issue Sep 13, 2022 · 2 comments · Fixed by #13974
Assignees
Milestone

Comments

@jerry-ne
Copy link

Describe the bug
File with some czech letters is not uploaded.

To Reproduce
Steps to reproduce the behavior:

  1. Open SFTP connection with UTF-8 encoding from Win10 (NTFS) to Ubuntu 20.04 LTS
  2. Try to upload c:\temp\objížďka.mp4
  3. I got Transfet incomplete and error msg: File is not found c:\temp\objížďka.mp4 Please contatct your file hosting suuport. /someting like that, because I have czech lang/
  4. Click on dialog: More details:
    1 OPENDIR
    2 READDIR
    3 READDIR
    4 CLOSE
    5 OPENDIR
    6 READDIR
    7 READDIR
    8 CLOSE

Expected behavior
File starting upload.

Log Files
cyberduck.log

@dkocher
Copy link
Contributor

dkocher commented Oct 24, 2022

2022-09-13 21:40:29,581 [Thread-0] DEBUG ch.cyberduck.core.unicode.AbstractUnicodeNormalizer - Normalized string C:\temp\objížďka.mp4 to C:\temp\objížďka.mp4
2022-09-13 21:40:35,656 [sFqARAhL-transfer-1] DEBUG ch.cyberduck.core.threading.DefaultFailureDiagnostics - Determine cause for failure BackgroundException{class=class ch.cyberduck.core.exception.LocalNotfoundException, file=null, message='Soubor nenalezen', detail='C:\temp\objížďka.mp4', cause='null'}

@dkocher
Copy link
Contributor

dkocher commented Oct 24, 2022

Should possibly set local.normalize.unicode 1 to false on Windows.

Footnotes

  1. https://github.com/iterate-ch/cyberduck/blob/master/core/src/main/java/ch/cyberduck/core/Local.java#L96

@dkocher dkocher changed the title Encoding problem via sftp, file is not uploaded Failure uploading file with diacritic in filename Oct 24, 2022
@dkocher dkocher added this to the 8.5.0 milestone Oct 24, 2022
@dkocher dkocher modified the milestones: 8.5.0, 8.5.1 Nov 1, 2022
@dkocher dkocher modified the milestones: 8.5.1, 8.5.2, 8.5.3 Dec 1, 2022
AliveDevil added a commit that referenced this issue Dec 12, 2022
AliveDevil added a commit that referenced this issue Dec 12, 2022
ylangisc added a commit that referenced this issue Dec 12, 2022
Disable Unicode normalization on Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants