You have two options. Either escape the spaces like this: scp user at host/path/to/this\ is\ the\ file Or, surround the file name in quotes, like this: scp user at host/path/to/"this is the file" --- Joseph C. Lininger jbahm at pcdesk.net Note, the following is used for automated processing. Please leave in tact if quoting me in a reply. Verification: 5eab38a77ac40416e075be8f50607ff7 ----- Original Message ----- From: "Igor Gueths" <igueths@xxxxxxxxxxxx> To: <speakup at braille.uwo.ca> Sent: Saturday, May 29, 2004 12:50 AM Subject: scp'ing files with spaces > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all. I think I remember doing this once, however can't seem to get > the syntax quite right. I am trying to scp 1 file from remote machine to > local machine...What I am trying to copy is a directory tree on the > remote machine and have it created within my current directory. The > syntax I have been trying is something like: > scp user at host:"/path/to/this is the file" . > And yes I know I forgot the -r option above, however since I am typing > this from a Putty terminal its more trouble than its worth to correct > the message since I can't see what I am typing. Another quoting variant > I trie dwas: > scp "user at host:/path/to/this is the file" . > Those quoting variants don't seem to be working...What scp ends up doing > is streating the individual words that make up filename to be 2 > different files. Does anyone know the correct quoting variant to use so > that scp will interpret it properly? Thanks! > - -- > Failure is not an option, it comes bundled with your Microsoft product. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > > iD8DBQFAuDKeNohoaf1zXJMRAgXsAJoDGYVuYiv/VM7FTy6Oe3PwizlqZACfQbAh > IUesxc7AMfck/3tSwtNQTbU= > =gl5F > -----END PGP SIGNATURE----- > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >