Forum Moderators: phranque

Message Too Old, No Replies

Interpreting the FTP Transcript

         

httpwebwitch

4:28 am on Apr 22, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm troubleshooting some FTP problems.

When I connect to my server, I see this in the transcript:

Cmd: PASV
227: Entering Passive Mode (aaa,bbb,ccc,ddd,12,217)


I understand what Passive mode is. aaa.bbb.ccc.ddd is my server's IP address. But what do the last two numbers represent?

phranque

6:36 am on Apr 22, 2011 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



the last two octets specify the port used for transferring data, so in your example it is (12*256)+217 or port 3289.
the port number will always be >1023 as these are the unprivileged ports.

httpwebwitch

5:49 am on Apr 23, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



eureka!

thanks!