PSCP copy files from godaddy to my windows machine

后端 未结 2 1008
离开以前
离开以前 2021-02-05 06:32

I want to take backup of my website which is hosted on godaddy.

I used pscp command from my windows dos and try to download whole public_html folder. my command is :

相关标签:
2条回答
  • 2021-02-05 07:06

    Also you can do same thing by not adding '/' at the end of your source path. For eg.

    pscp -r user@host:public_html d:\sites
    

    Above command will create public_html directory if not exists at your destination (i.e. d:\sites). Simply we can say using above command we can make a as it is clone of public_html at d:\sites.

    0 讨论(0)
  • 2021-02-05 07:15

    Appending a star to the source should fix it, e.g.

    pscp -r user@host:public_html/* d:\sites\;
    
    0 讨论(0)
提交回复
热议问题