Pages

Thursday, August 16, 2012

FTP

FTP stands for File Transfer Protocol. It is a standard network protocol used for transferring files between a client and a server on a computer network. FTP operates on the client-server model, where one device acts as the client requesting files, and another device acts as the server providing access to files.

Here are some common use cases of FTP:

1. **File Sharing**: FTP is commonly used for sharing files between users or groups of users over a network. Users can upload files to an FTP server, making them accessible to authorized users for download.

2. **Website Hosting**: Many website hosting providers use FTP to allow users to upload website files (such as HTML, CSS, and image files) to their web servers. Web developers and administrators use FTP clients to upload, update, and manage website content on the server.

3. **Software Distribution**: FTP is often used for distributing software packages, updates, patches, and other large files over the internet. Software developers and vendors can host files on FTP servers, allowing users to download them from anywhere with an internet connection.

4. **Backup and Archiving**: FTP can be used for backing up files and data to remote servers. Organizations may use FTP to transfer backups of critical data to off-site locations for disaster recovery purposes.

5. **Media Streaming**: FTP can be used for transferring media files, such as audio or video files, over a network. While not as efficient as dedicated streaming protocols, FTP can still be used to distribute media content to users who prefer to download files for offline playback.

6. **Remote File Access**: FTP can provide remote access to files stored on a server. Users can connect to an FTP server from any location with internet access, allowing them to access, download, and upload files stored on the server.

7. **Automated File Transfers**: FTP can be integrated into automated workflows and scripts to facilitate scheduled or batch file transfers between systems. Automated FTP transfers are commonly used for tasks such as synchronizing files between servers, updating databases, or processing data feeds.

Overall, FTP is a versatile protocol that facilitates the secure and efficient transfer of files over networks, making it a valuable tool for various use cases in both personal and business environments.

1. What is FTP Used for?
FTP is used to transfer files over a network.

2. Does FTP use TCP or UDP as it’s transport layer protocol?
TCP

3. Which is one FTP Server you have installed?
Window 2003 /Windows XP/ Ubuntu

4. Which FTP command is used to upload and download files from the client to the server?
PUT and GET

5. How many TCP 3 way connections  are established between the FTP client and the server before data can be exchanged
a) 1
b) 2
c) 3
d) 4

Which command can the FTP client use to download a file from the FTP server
a) get
b) put
c) mkdir
d) None of these

In Active FTP, which of the devices would send the PORT command
a) FTP client
b) FTP Server
c) Switch
d) PORT command is used only on the internet

Where should the type of FTP (Active or Passive) be configured
a) FTP Server
b) FTP Client
c) FTP Client and FTP Server
d) None of the above

If the client and the server is configured for passive FTP,  which device would initiate the TCP data connection
a) FTP Client
b) FTP Server
c) Switch
d) None of the above

What information is not available in the PORT command
a) Port number to which the TCP connection is to be initiated
b) IP address to which the TCP connection is to be initiated
c) IP address of the switch
d) None of the above

What would be the TCP source port number which would be used by the FTP client to initiate the control connection
a) dynamic port number
b) 21
c) 20
d) A registered port number

When is the FTP PORT command sent?
a) After the control connection is established
b) After the data connection is established
c) After the data is exchanged
d) Before the control connection is established

If the FTP Server is configured for anonymous access, which TCP connections for establishing the FTP connection can be avoided.
a) FTP Control connection
b) FTP Data connection
c) Both control and data connection would be used irrespective of the access type
d) FTP anonymous connection









No comments:

Post a Comment