, :
, , ?
FTP . ( ) - , login, delete, make directory .. 21.
FTP , ( ). FTP- , . , . - , , . , .
PASV, , FTP
FTP- :
client: PASV
(i would like to transfer files. Tell me which port and ip address should I use)
server: 227 Entering Passive Mode (172,16,3,4,204,173)
(ok, use port 52397 on IP address 172.16.3.4.)
client: connects to this IP address/port and starts data transfer.
FTP- IP-. FTP-, IP- (, 1.2.3.4) (192.168.2.3).
FTP-, IP- (1.2.3.4) , IP- (192.168.2.3). , NATed.
.
FTP- FTP- . , . , ( ).
IP- PASV
IP- ftp , IP-, PASV, (, 10., 192.168.). FTP- IP-.
Rebex FTP . ( ). , FtpWebRequest.
, .