Subject: IT694 Computer Networks Group ID: 07 Group Member 1: ID: 202112032 Name: Peril Talaviya
Subject: IT694 Computer Networks Group ID: 07 Group Member 1: ID: 202112032 Name: Peril Talaviya
Group ID : 07
Group Member 1:
ID : 202112032
Group Member 2 :
ID : 202112047
Group Member 3 :
ID : 202112052
What is FTP?
Features of FTP :
1. Data representation
2. Data structures
3. Transmission modes
4. Error control
5. Access control
FTP Methods :
1. GET :
If localfile is not specified, the file is given the name of the remotefile.
2. PUT :
If remotefile is not specified, the file is given the name of the localfile.
3. DIR :
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
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.