ftp AND LINUX

WHAT IS ftp?

The acronym ftp stands for File Transfer Protocol. We can use the ftp for transferring files among many users on a network. ftp is a file server which is holding files to be downloaded. When talking about the advantages of ftp,

  1. can used to get large files from a computer to another computer quickly.
  2. efficient.
  3. more secure.
  4. can download and upload as well.
  5. can transfer multiple files or directories at once.
  6. can resume a transfer if the connection has lost in the middle.
  7. can manage a queue to download and upload.
  8. has automatic backup.

HOW TO USE ftp?

  • First of all your computer and the other computer should have ftp installed. You can get it from the following link.

http://mina.apache.org/ftpserver-project/downloads.html

  • Then you can start your work. Type ‘ftp‘ command and then give the address of the connection destination.

1.png

  • Then it will try to establish a connection with the destination computer or the server. Then it will ask for user name. The default is ftp for the anonymous login.

2.png

3

  • After giving the name, it will ask for the password. Normally the password for the anonymous login is a valid email address.

4.png

5.png

  • After showing the welcome message, now you are connected to the ftp server. Now you can access files on the server and can upload files as well. There are two types of file transferring techniques. One is ASCII and the other is binary. We can choose between those two using following commands.

6.png

7.png

  • Now we are in the server, not at our local computer. But using commands with the ‘!‘ will effect to our computer, not to the ftp server.

8.png

  • We can use normal terminal commands to work with the server as well. In the following example I have change my directory.

9.png

10.png

11.png

  • Using the ‘get‘ command we can download files from the ftp server. The file name should given as the parameter.

12.png

  • Also we can upload files to the server using the ‘put‘ command. The path to the specific file should be given as a parameter.

13

14

  • There are two special commands that will help to get the progress of our file download as ‘hash‘ and ‘tick‘.

15

16

18

17

  • When we are finished with our work at the ftp server, we can close the connection and come back to our local machine using following commands.

19.png

This is how the ftp server works. Hope you got a clear idea about the ftp server. Hope to see you soon with another interesting topic. Thank You!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s