Wednesday, July 29, 2009

SCP files with spaces in filenames

I wanted to transfer a custom ringtone to my iPhone.

Joy Ride.mp3

Doing the following Secure FTP command from my iPhone will fail.

scp jasonong@192.168.1.2:working/Joy\ Ride.mp3 .

Even this will fail.

scp jasonong@192.168.1.2:working/"Joy Ride.mp3" .

Finally,

scp jasonong@192.168.1.2:working/"Joy\ Ride.mp3" .

Transfered!

No comments:

Blog Archive