Question

In: Computer Science

Discuss FTP(File Transfer Protocol), including all relevant terms in your explanation.

Discuss FTP(File Transfer Protocol), including all relevant terms in your explanation.

Solutions

Expert Solution

File Transfer Protocol(FTP):

  • FTP stands for File Transfer Protocol.
  • It is a standard internet protocol provided by TCP/IP used for transmitting the files from one host to another.
  • It is mainly used for transferring the web page files from their creator to the computer that acts as a server for other computers on the internet.
  • It is also used for downloading the files to compute from other servers.

Objectives of FTP:

  • It provides the sharing of files.
  • It is used to encourage the use of remote computers.
  • It transfers the data more reliably and efficiently.

Features of FTP:

  • Data representation
  • File organization and Data structures
  • Transmission modes
  • Error control
  • Access control

File operation:

  • FTP uses client/server model for communication.
  • Two TCP connections are used for file transfer.
  • On one connection control signals (commands and responses) are exchanged and the other connection is used for actual data transfer.The two connections are called control connection and data connection.

Control connection:

  • For sending control information like user identification,password,commands to change the remote directory,commands to retrieve and store files,etc ftp makes use of control connection.
  • The control connection is initiated on port number 21.

Data connection:

  • For sending the actual file,FTP makes use of data connection.
  • A data connection is initiated on port number 20

FTP session:

  • When FTP session is started between a client and servers,the client initiates a control TCP connection with the server side.The client sends control information over this.When the server receives this,it initiates a data connection to the client side.Only one file can be sent over one data connection.FTP needs to maintain a state about its user throughout the session.

Data Structures:

FTP allows 3 types of data structures.

  • File structure: It is continuous sequence of data bytes.
  • Record structure:In this,the file is made up of sequential records.
  • page structure:In this,the file is made up of independent indexed pages.

FTP Servers:

To separate the general public users from the more private users,FTP servers are divided into 2 parts:

  • Anonymous Server: FTP sites that allows anonymous FTP do not require a password for access.You only have to log in as anonymous and enter your email address as password.
  • Non-anonymous server:If you use a non-anonymous server,then you will log in as yourself and give your password.

FTP Clients:

  • FTP runs on client/server model.For using FTP you need client software to run your PC.
  • To begin an FTP session,you run the FTP client software and contact the FTP server from where you want to download files from.

FTP commands:

Some of the FTP commands are:

USER - This command sends the user identification to the server.

PASS - This command sends the user password to the server.

PWD - This command causes the name of the current working directory to be returned in the reply.

Working Procedure:

Clients initiate a conversations with servers by requesting to download a file.Using FTP, a client can upload,download,delete,rename etc and copy files on a server.A user typically needs to log on to the FTP server to use the available content.

Advantages of FTP:

  • speed
  • Efficient
  • Security
  • Back & Forth movement

Disadvantages of FTP:

  • It is not compatible with every system.
  • Attackers can quickly identify the FTP password
  • Does not allow to run simultaneous transfers to multiple receivers.

Related Solutions

Critique how FTP solves the problem of file transfer – what is good? What is bad?...
Critique how FTP solves the problem of file transfer – what is good? What is bad? What is weird?
Discuss all the different heads (including losses) in Bernoulli energy equation defining all terms with their...
Discuss all the different heads (including losses) in Bernoulli energy equation defining all terms with their units
Essay Question. Must begin with thesis. please identify all relevant concepts, terms and discuss critically all...
Essay Question. Must begin with thesis. please identify all relevant concepts, terms and discuss critically all other positions against and aswell as in favor. If you had to select just one indicator to measure the success or health of a country’s economy, what indicator would you select and why? Explain the advantages and limitations of the indicator you selected, contrasting it with at least two other economic indicators.
Essay Question. Must begin with thesis. please identify all relevant concepts, terms and discuss critically all...
Essay Question. Must begin with thesis. please identify all relevant concepts, terms and discuss critically all other positions against and aswell as in favor. Do market-led or state-led economies lead to economic success? Explain both sides before using empirical critique to support your argument.
Explain, in great detail, the protocol of DNA isolation. In your explanation, mention which steps and/or...
Explain, in great detail, the protocol of DNA isolation. In your explanation, mention which steps and/or materials are important in the process, and explain the significance of these steps. Following your explanation, describe where, in the protocol, can contamination occur and cause DNA isolation to fail.
Discuss how the concept of transfer pricing is relevant to fiji airways use appropriate examples?
Discuss how the concept of transfer pricing is relevant to fiji airways use appropriate examples?
Choose an organization (Amazon, Sony, etc.) and discuss how they manage large data sets including protocol...
Choose an organization (Amazon, Sony, etc.) and discuss how they manage large data sets including protocol for transferring data. Select one public data set and examine the technical format and how the data is manipulated globally.
Discuss examples of 1) elasticity, including an explanation of why or how they demonstrate the concept...
Discuss examples of 1) elasticity, including an explanation of why or how they demonstrate the concept of elasticity; and 2) examples of externalities, again including an explanation of why or how they demonstrate the concept of externalities.
Discuss examples of 1) elasticity, including an explanation of why or how they demonstrate the concept...
Discuss examples of 1) elasticity, including an explanation of why or how they demonstrate the concept of elasticity; and 2) examples of externalities, again including an explanation of why or how they demonstrate the concept of externalities.
Describe the physiology of a neuronal impulse, including all relevant definitions and steps, to explain what...
Describe the physiology of a neuronal impulse, including all relevant definitions and steps, to explain what happens for depolarization to occur and transmission of stimuli across a synapse.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT