Bug 992

Summary: scp cannot handle filenames with spaces in them
Product: Portable OpenSSH Reporter: Steve Brown <steve.brown>
Component: scpAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED WONTFIX    
Severity: normal Keywords: patch
Priority: P2    
Version: 3.9p1   
Hardware: All   
OS: All   
Attachments:
Description Flags
fixes problem with scp not handling spaces none

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.