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 :file.zip D:/I am currently in public_html directory using SSH.
4 Answers
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 :/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/
It seems like you are using windows, so you should have a look at winscp (), which is a graphical interface for scp.
If you want to use a command-line from windows then you could give pscp a try from the putty toolkit.
Try using a SFTP client such as
- Flash FXP - a paid ftp client with great options
- Filezilla Client a free and opensource client