Bug 992 - scp cannot handle filenames with spaces in them
Summary: scp cannot handle filenames with spaces in them
Status: CLOSED WONTFIX
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: scp (show other bugs)
Version: 3.9p1
Hardware: All All
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2005-03-04 09:10 AEDT by Steve Brown
Modified: 2006-10-07 11:38 AEST (History)
0 users

See Also:


Attachments
fixes problem with scp not handling spaces (932 bytes, text/plain)
2005-03-04 09:13 AEDT, Steve Brown
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Brown 2005-03-04 09:10:41 AEDT
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 :-)
Comment 1 Steve Brown 2005-03-04 09:13:49 AEDT
Created attachment 844 [details]
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)
Comment 2 Damien Miller 2005-03-04 09:23:21 AEDT
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.
Comment 3 Darren Tucker 2006-10-07 11:38:59 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.