![]() | |
| |
| |||||||
| Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers! |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| ||||
|
Have you ever wanted to copy files from say like your godaddy account to your VPS? Well, below is what you need to do if you ever get the urge to move files from Godaddy.com (or any other provider) to your account within /cpanel 1. Make sure you have a /cpanel account established within your VPS. 2. Do the following within SSH: Code: cd /home/<username-of-cpanel>/public_html && wget -q -nH --mirror ftp://user:pass@host && chown <username-of-cpanel>:<username-of-cpanel> * user = username of your login at godaddy.com (or any other provider) pass = password login for your FTP at godaddy.com (or any other provider) host = hostname of your domain (yourdomain.com) Also, please remember to replace <username-of-cpanel> with your actual cpanel username. What does the above do? The above will put you into your /home/username/public_html/, and it will copy and set ownership of all the files so you dont have to download and upload files via your PC you can do it directly server to server.
__________________ Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
| ||||
| Quote:
Code: group:cronicles:$1$1ebMDMAU$H1Ja427wf1AhmgpqVPp0v1:746:583::/home/cronicles:/bin/ftponly:0:99999:7:: uaccount:qmgp475th:jmkgxJAIVbMhA:859:583::/home/qmgp475th:/bin/emailonly:0:99999:7:: (this board needs more smilies -- like thumbs-up -- that would be )
|
| |||
| Quote:
thanks inxcode should i post this && in the command??? |
| ||||
|
Yes, && says that there are more rows for linux, so it doesnt start the previous row.
__________________ Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |