0% found this document useful (0 votes)
74 views7 pages

Subject: IT694 Computer Networks Group ID: 07 Group Member 1: ID: 202112032 Name: Peril Talaviya

Group ID: 07 is comprised of 3 members: Peril Talaviya (ID: 202112032), Abhishek Suthar (ID: 202112047), and Karina Bavishi (ID: 202112052). The document discusses File Transfer Protocol (FTP), including its features, methods, and proposed message structures for request and response for PUT, GET, and DELETE operations, with considerations for error handling. Performance may be improved by adding security/privacy, access restrictions, and a high-speed internet connection.

Uploaded by

abc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views7 pages

Subject: IT694 Computer Networks Group ID: 07 Group Member 1: ID: 202112032 Name: Peril Talaviya

Group ID: 07 is comprised of 3 members: Peril Talaviya (ID: 202112032), Abhishek Suthar (ID: 202112047), and Karina Bavishi (ID: 202112052). The document discusses File Transfer Protocol (FTP), including its features, methods, and proposed message structures for request and response for PUT, GET, and DELETE operations, with considerations for error handling. Performance may be improved by adding security/privacy, access restrictions, and a high-speed internet connection.

Uploaded by

abc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Group ID : 07

Subject : IT694 Computer Networks

Group ID : 07

Group Member 1:

ID : 202112032

Name : Peril Talaviya

Group Member 2 :

ID : 202112047

Name : Abhishek Suthar

Group Member 3 :

ID : 202112052

Name : Karina Bavishi


Group ID : 07

1. List the features and the corresponding methods that need to be


implemented.

What is FTP?

 File Transfer Protocol is a standard communication protocol which is used to exchange


files from one host to another connected over the internet.
 With the help of FTP Server we can Upload or Download files.
 FTP is client-server based Protocol.

Features of FTP :

1. Data representation

2. Data structures

3. Transmission modes

4. Error control

5. Access control

FTP Methods :

1. GET :

Get command is used to download files from remote host.


Group ID : 07

Syntax : get <remotefile> [<localfile>]

It copies the remote file to the local computer.

Example : get demo.txt demo1.txt

It copies the demo.txt file to the local computer as demo1.txt.

If localfile is not specified, the file is given the name of the remotefile.

2. PUT :

Put command is used to upload a file to the server.

Syntax : put <localfile> [<remotefile>]

It copies the local file to the remote computer.

Example : put demo.txt demo1.txt

It copies the demo.txt file to the remote computer as demo1.txt.

If remotefile is not specified, the file is given the name of the localfile.

3. DIR :

It displays a list of directory’s files and subdirectories.

It returns filename, modified time, file size, owner, file type, permissions and mode.
Group ID : 07

4. DEL :

Del command is used to delete one or more file from the server.

To delete more than one file at once, we can use mdelete command.

2. Work out the message structures (request and response) format with
justifications where necessary. Include error handling as well.

1. PUT Operation :

a. Request Message :

Name Description
<myftpclient- Specifies the IP Address of myftp client.
IPAddr>
<myftp-user> Specifies the user name mentioned by myftp client.
<myftp-type> Specifies the information of type mentioned by myftp client.
<transfer-path> Specifies the path of the file to be transferred.
<file-name> Specifies the name of the intermediate file containing data of the file
sent by myftp client.
<file-size> Specifies the size of the file which is sent by myftp client.
<time-and-date> Specifies on which date and time file is sent by myftp client.
Group ID : 07

b. Response Message :

Name Description
<message> Specifies the message after successful transmission of file. Maximum
character length that can be specified in a message is 1,024.
Special character can’t be used in the message.
<success> Specifies the flag value, i.e true or false
<status-code> Specifies the status code of transmitted file. Some of the status code
are:
1. 200 (ok) : Request succeeded
2. 400 : Bad request means request message not understood by
server.
3. 404 : Page not found.

2. GET Operation :

a. Request Message :

Name Description
<myftpclient- Specifies the IP Address of myftp client.
IPAddr>
<myftp-user> Specifies the user name mentioned by myftp client.
<myftp-type> Specifies the information of type mentioned by myftp client.
<download-path> Specifies the path of the file to be transferred.
<request-id> Specifies the request id of ftp reception.

b. Response Message :

Name Description
<message> Specifies the message after successful transmission of file. Maximum
character length that can be specified in a message is 1,024.
Special character can’t be used in the message.
Group ID : 07

<success> Specifies the flag value, i.e true or false


<status-code> Specifies the status code of transmitted file. Some of the status code
are:
1. 200 (ok) : Request succeeded
2. 400 : Bad request means request message not understood by
server.
3. 404 : Page not found.
<file-name> Specifies the name of the file to be downloaded or searched.
<file-size> Specifies the size of the file to be downloaded or searched.
<file-type> Specifies the stype of the file to be downloaded or searched.

3. DELETE Operation :

a. Request Message :

Name Description
<myftpclient- Specifies the IP Address of myftp client.
IPAddr>
<myftp-user> Specifies the user name mentioned by myftp client.
<myftp-type> Specifies the information of type mentioned by myftp client.
<transfer-path> Specifies the path of the file to be transferred.
<request-id> Specifies the request id of ftp reception.
<file-name> Specifies the name of the file to be deleted.
<file-size> Specifies the size of the file to be deleted from server.
<time-and-date> Specifies on which date and time you request specific file to delete.

b. Response Message :

Name Description
<message> Specifies the message after successful transmission of file. Maximum
character length that can be specified in a message is 1,024.
Special character can’t be used in the message.
<success> Specifies the flag value, i.e true or false
Group ID : 07

<status-code> Specifies the status code of transmitted file. Some of the status code
are:
1. 200 (ok) : Request succeeded
2. 400 : Bad request means request message not understood by
server.
3. 404 : Page not found.
<file-name> Specifies the name of the file to be downloaded or searched.
<file-size> Specifies the size of the file to be downloaded or searched.
<file-type> Specifies the stype of the file to be downloaded or searched.

3. Discuss any feature of the implementation that may help improve the
performance of the application.

1. We can provide more security and privacy to user.


2. We can restrict our myftp for specific entity that will increase out FTP performance.
3. Need a high speed internet connection.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy