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

API get() fails for path containing space #882

Closed
bitaxis opened this Issue Apr 4, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@bitaxis

bitaxis commented Apr 4, 2013

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.

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