Showing posts with label scp. Show all posts
Showing posts with label scp. Show all posts

Wednesday, January 20, 2010

Download file from Linux machine to Windows machine using SCP

- Download PSCP.exe (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
- Open up Command Prompt
- Type the following

# Eg. if my pscp.exe is on my Windows desktop

"C:\Documents and Settings\Jason\Desktop\pscp.exe" jasonong@IP_ADDRESS_OF_LINUX_MACHINE:./PATH/TO/FILE "c:\Temp"

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!