Tip:
Highlight text to annotate it
X
In this video we will see how to upload and download files from linux
terminal using the simple ftp command
you will need three things for this
1. ftp address of your website or the server ip address.
2.ftp username 3.ftp password
If you don't know these values you can Google them
with you hosting provider name (in my case it's godaddy).
Generally you have to open the control panel of your hosting account and
Under web hosting look for the ftp setting folder.
There you will find all of them.
Now once you have all of them open your terminal (you can use the shortcut ctrl + alt+ T)and
type in following command.
typing ftp and press enter this will lead yo inside the ftp mode.
now to open your connection type open followed by the ftp web address of server ip address.
most of the time it's ftp.yourdomain name
As you can see it's private system you will need username and password
now enter you username and password that you found out previously
you might get some restriction due to firewall of your system ,
so it's better to activate the passive mode.
To view the content use ls command ,
to upload file use
send command followed by the file-name ,don't forget to include the file extension,
you can check it by going to your website,
In this video i have uploaded it separate directory to keep things simple.
Now i will download the image file to my hard drive,
Remember that the files are always downloaded
in the present directory we are in. In this case it will be home directory
to get the file from the server to your system ,,
use the get command followed by the file name .
use the close and to logout the server.
Well this all for now , if this helps you do let us know by your comments.