Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have backup all my website files to a zip folder from cpanel. Now I want to download this zip folder to my local drive. I searched on internet and found command line code 'scp' but its not working for me.

scp myusername@remotehost.edu:file.zip D:/

I am currently in 'public_html' directory using SSH.

share|improve this question

migrated from stackoverflow.com Nov 20 '12 at 20:52

This question came from our site for professional and enthusiast programmers.

1  
Looks like you're on a Windows host, why not just use WinSCP? –  birryree Nov 20 '12 at 13:27
    
scp command as such won't work on Windows. You can use WinSCP for GUI interface, or if you prefer command line utility, go for pscp which is very similar in usage to scp. –  vaisakh Nov 20 '12 at 13:31

4 Answers 4

Check this tutorial, it's very well explained

scp command line to securely copy files over ssh, between Linux, Mac or Windows

Examples:

scp *.txt user@remote.server.com:/home/user/ That is going to copy all files with .txt extension to the folder /home/user in the remote.server.com host

scp -r miguel@10.1.2.2:/home/user/ user@10.1.2.3:/home/user/

share|improve this answer

It seems like you are using windows, so you should have a look at winscp (http://winscp.net/), which is a graphical interface for scp.

share|improve this answer

If you want to use a command-line from windows then you could give pscp a try from the putty toolkit.

share|improve this answer

Try using a SFTP client such as

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.