question about ftp

aethandor13

Member
Oct 15, 2002
71
0
61
what's the difference between active and passive ftp. I don't know and would like to know more about it.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Maybe?

I didn't read it, just googled for "difference between active and passive ftp" and CHOSE THE FIRST LINK GOOGLE RETURNED.

Oh yeah, and wrong forum.
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Active -

Client makes connection to ftp server on destination port 21.
This is the control channel.
Client requests file - server then initiates connection to client with source port of 20 and some other destination port.
Server transfers data on this data channel.

Can cause trouble with NAT and bad firewalling.

Passive.
Client makes connection to ftp server on dst port 21, and another on port 20. So instead of the server starting the connection on the data channel, the client does.