File transfer protocol ( FTP ) is used to transfer files between client and server. It is commonly used by…