how to get file via ssh root ?

Status
Not open for further replies.

msk19994

Active Member
2,813
2011
567
25
Hey Guys
A guy provided me a vps to backup my site
the thing is that i just placed wget command to get the backup ie
i went into the new vps
ie it has no files or folders nothing installed on it its blank so i just wget my site url ie mysite.com/ninja.zip and now how to grt it
???
like when i goto like ip/file.zip it doesnt work how to remote it to my server ?
 
6 comments
Download and install FlashFXP then use that to connect to your server via SSH. Check image below:

Snap_2012.03.08_13h38m56s_001.png
 
I see. In that case, do the following:

Code:
yum install httpd
(assuming it's centos. Use 'apache2' instead of 'httpd' if it's ubuntu)

Move your files to apache's default directory (different under ubuntu) which is commonly located under:
/var/www/html
Code:
mv /current/location/of/file /var/www/html/

Then download them using your IP address:
Code:
http://ip.add.re.ss/file.ext

Make sure you've started the httpd server:
Code:
service httpd start
 
if the backup is in a public_html accessable folder you should be able to wget it.

When backups are generated there usually chmod000 or similar, chmod it to 755 and try
 
I see. In that case, do the following:

Code:
yum install httpd
(assuming it's centos. Use 'apache2' instead of 'httpd' if it's ubuntu)

Move your files to apache's default directory (different under ubuntu) which is commonly located under:
/var/www/html
Code:
mv /current/location/of/file /var/www/html/

Then download them using your IP address:
Code:
http://ip.add.re.ss/file.ext

Make sure you've started the httpd server:
Code:
service httpd start

Thanks mate <3 worked like a charm
 
Status
Not open for further replies.
Back
Top