Differences
This shows you the differences between the selected revisions of the page.
2014-10-01 | 2015-01-07 (current) | ||
improving article + adding info on active/passive mode (martin) | ftp_modes (martin) | ||
Line 8: | Line 8: | ||
===== [[mode]] Active and Passive Mode ===== | ===== [[mode]] Active and Passive Mode ===== | ||
- | %%FTP%% may run in active or passive mode, which determines how the data connection is established. In both cases, the client creates a TCP control connection to the %%FTP%% server command port 21. In active modes, the client starts listening for incoming data connections on random port from the server (the client sends the %%FTP%% command ''PORT'' to inform the server on which port it is listening). In situations where the client is behind a firewall and unable to accept incoming %%TCP%% connections, passive mode may be used. In this mode, the client uses the control connection to send a ''PASV'' command to the server and then receives a server %%IP%% address and server port number from the server, which the client then uses to open a data connection from an arbitrary client port to the server %%IP%% address and server port number received. | + | Learn about [[ftp_modes|FTP connection modes]] (active and passive). |
- | + | ||
- | You can select between the active and passive mode on //[[ui_login_connection|Connection page]]// of Advanced site settings dialog. | + | |
===== FTP Server Response Codes ===== | ===== FTP Server Response Codes ===== | ||
See [[ftp_codes|FTP server response codes]]. | See [[ftp_codes|FTP server response codes]]. | ||