1. ASCII mode: This mode is used for transferring text files, including HTML, PHP, JavaScript, and plain text. ASCII mode translates the files into a format that can be properly read by the target system.
1. Binary mode: This mode is used for transferring images, music, video and executable files, as well as compressed data. When files are transferred in Binary mode, their original format is maintained, and they are not modified during the transfer.
1. Passive mode: In Passive mode, the client initiates communication with the server and requests a data transfer. The server listens for the client’s request and responds with the requested data.
1. Active mode: In Active mode, the server initiates the data transfer and sends the data to the client. The client listens for the server’s request and responds with acknowledgement of receipt of the data.
1. SFTP: Secure File Transfer Protocol (SFTP) is a secure alternative to FTP that encrypts all data transfer. SFTP provides better security for data transfer compared to FTP.