Skip to content

API get() fails for path containing space #882

Description

@bitaxis

Hi. One of my tasks makes this call:

with cd('/somewhere'), cd('some directory'):
    get('remote-file.txt', 'local-file.txt')

If the full path to remote-file.txt has space(s) in it, the operation fails with the error

Fatal error: get() encountered an exception while downloading '/somewhere/some\ directory/remote-file.txt'

Underlying exception:
    No such file

I double-checked that the file is there on the server I am grabbing it from. Also, if I get rid of the space by renaming the directory, then the operation works.

So I think this may be a bug.

I am running Fabric 1.6.0 on Windows Server 2008 R2 (64-bit) hitting RHEL 5 servers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions