2

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.

2
  • 1
    Looks like you're on a Windows host, why not just use WinSCP?
    – wkl
    Nov 20, 2012 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, 2012 at 13:31

4 Answers 4

3

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/

3

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.

2

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

0

Try using a SFTP client such as

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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