what is the difference between active and passive mode
what is the difference between active and passive mode
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
Environment. it has two modes -
1)Active mode FTP :=Client connect from a random unprivileged port (n > 1023) to the server command port (21) and sends port command to tell server to connect to n+1 port. The server connects from it’s data port (20) to the client data port (n+1) .
2)Passive mode FTP := Client opens two random unprivileged ports ( n > 1023 and n+1; ex 1026 and 1027) and connects the first port (n) to server command port 21 and issues a pasv command ; client connects to servers specified data port, server completes connection.