Skip to content

Parser trims white space from beginning/end of file names where it should not #1381

Closed

Description

@cyberduck

77aae3d created the issue

Steps to reproduce:

  1. Upload a file with trailing or beginning white space (e.g. " test.txt" or "test.txt " using another ftp client (like the command line ftp client bundled with many OSes)

  2. Try to download that file with Cyberduck

Expected result: File is being downloaded
Actual result: "Error downloading file: No such file or directory"

Activity

  1. cyberduck commented on Dec 3, 2007

    @cyberduck
    ContributorAuthor

    @dkocher commented

    Same as #1118 and #1200

  2. cyberduck commented on Jan 3, 2008

    @cyberduck
    ContributorAuthor

    @dkocher commented

    This is related to issue #12092.

  3. cyberduck commented on Jan 8, 2008

    @cyberduck
    ContributorAuthor

    @dkocher commented

    To make the parser aware of whitespace in filenames (leading or trailing), enter

    defaults write ch.sudo.cyberduck ftp.parser.whitespaceAware true
    

    in a Terminal.app window. As of a9d993b.

  4. locked as resolved and limited conversation to collaborators on Nov 26, 2021
  5. added theissue type on Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ftpFTP Protocol Implementation

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions