Product SiteDocumentation Site

3.3.2. Copying from Windows

The PSCP command is only available through the command line. Run cmd.exe and at the prompt, add the PuTTY directory your search path:
set PATH=%PATH%;"C:\Program Files\PuTTY"
Now you can use the PSCP command to transfer your files:
pscp [[-r]] -i key.ppk source ubuntu@ec2-public-hostname:dest
key.ppk is the path to the private key you exported and saved when first logging in. ec2-public-hostname is the Public Hostname of your master node. source is the local file or folder you want to copy, and dest is the target filename on the EC2 node. Use the -r option if you are copying a directory.
Now proceed to Section 3.3.3, “Uploading to the HDFS”.