Mailing List Archive

[Bug 992] scp cannot handle filenames with spaces in them
http://bugzilla.mindrot.org/show_bug.cgi?id=992

Summary: scp cannot handle filenames with spaces in them
Product: Portable OpenSSH
Version: 3.9p1
Platform: All
OS/Version: All
Status: NEW
Keywords: patch
Severity: normal
Priority: P2
Component: scp
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: steve.brown@macquarie.com


scp cannot successfully copy files with spaces in them. This is easily fixed in
the attached diff output. I haven't applied the patch myself to the cvs source
because I'm cvs illiterate :-)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 992] scp cannot handle filenames with spaces in them [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=992





------- Additional Comments From steve.brown@macquarie.com 2005-03-04 09:13 -------
Created an attachment (id=844)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=844&action=view)
fixes problem with scp not handling spaces


This is a patch but not in official patch format sorry - I just ran a "diff" on
orig and new file (change from scp.c,v 1.119)




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 992] scp cannot handle filenames with spaces in them [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=992


djm@mindrot.org changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX




------- Additional Comments From djm@mindrot.org 2005-03-04 09:23 -------
This is a well known misfeature of rcp (which scp is based on) for around 20
years and is well documented. Unfortunately, fixing this would break many
peoples scripts which already include workarounds.

Our plan is to improve sftp to the point where it is a complete replacement for scp.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.