How can we upload files through SSH?

kumkumsharma

Administrator
Staff member
For that it is must to have access of SSH. You can login to SSH by entering hostname or IP address and port of server.

After that change directory in which you want to upload your files.

Code:
cd domains/domain.com/public_html/
You have to enter path of your folder where you have to upload your files.

Here we are using wget command to upload files. You can use below command to upload it:

Code:
wget https://www.yourdomain.com/file.php
you can also download your fie with FTP server with wget command:

Code:
wget ftp://username:password@ftp.yourstoragedomain.com/filename.png
 
Top