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 :-)
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)
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.
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.