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.
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:
you can also download your fie with FTP server with wget command:
After that change directory in which you want to upload your files.
Code:
cd domains/domain.com/public_html/
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
Code:
wget ftp://username:[email protected]/filename.png