• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

Passive FTP Question

Being a complete idiot regarding FTP, I was wondering what the following means:
227 Entering Passive Mode (23,21,105,227,225,23)

In particular, what do the numbers in parentheses symbolize?
0
swlaurie
Asked:
swlaurie
  • 2
1 Solution
 
Nathan RileyFounderCommented:
Well I know the first set of numbers are your IP.

23.21.105.227

Somehow the calculation on the last two is a port I believe.
0
 
AlexPaceCommented:
Take the 5th number, multiply by 256 and then add the 6th number to get the port where the server is waiting for the client to connect for a passive mode data channel.

(225 * 256) + 23 = 57623
0
 
AlexPaceCommented:
If you are opening ports on the firewall be aware that passive mode typically uses a port range so contact the administrator of the FTP site and ask "what is your passive port range?" ... it sounds like a strange question but the FTP admin should be able to answer it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now