Is there any way I can check if FTP server is running on a particular server?

5

How to check if ftp server is running on a particular server ? For example I want to know if there is ftp server running for the IP xxx.xxx.xxx.xx.

Is there any way I can get the information ? Name of the web-server on which the website is running is Microsoft-IIS/6.0 and OS is Windows Server 2003

Though I don't have FTP server running locally, but I get a FTP prompt :

C:\Users\user>ftp 127.0.0.1
ftp>

Suhail Gupta

Posted 2013-10-17T10:39:53.263

Reputation: 1 655

Answers

6

Are you trying to establish whether the ftp server is running on a machine to which you have access? If so, what you just did,

ftp localhost

, is perfect: you do have an ftp server running. You might have established the same point by checking running processes with Task manager or any other such utility, but the route you chose is even better, in a way, because it tells you it is not only running but also functioning properly.

By the same token, typing

ftp Some.New.Ip.Address

works also for a possible ftp server running on a machine to which you do not have access. If there were no ftp server running, you would get the reply:

ftp: connect: Connection refused

or something similar.

This assumes that the server is using the standard ftp port 21. If for any reason, the person who set up the ftp server is a bit secretive, he/she may have moved the listening port to some non-standard port. In this case, barring a direct question to the site manager, your best hope is with a sophisticated instrument like nmap, which is capable of identifying the non-standard port on which the server might be listening.

MariusMatutiae

Posted 2013-10-17T10:39:53.263

Reputation: 41 321

I want to check if ftp server is running on ip xxx... or not. How do I check that ? – Suhail Gupta – 2013-10-17T12:31:13.710

ftp xxx.xxx.xxx.xxx – MariusMatutiae – 2013-10-17T12:32:53.420

and how do I know if I am connected to the server ? As I enter ftp xxx.xxx.xxx.xxx , I see a ftp prompt but I am not sure if I am connected because as I enter the command LIST, it says invalid command.I must mention that I didn't enter any username or passoword to connect to that ip – Suhail Gupta – 2013-10-17T12:56:33.433

Like I said above, if there is no ftp server you will get a reply like ftp: connect: connection refused. If you get a prompt, it means there is a sever, you may not be authenticated, but the server has already replied, thus it exists. – MariusMatutiae – 2013-10-17T13:13:43.020

okay but why do I get ftp prompt when I do ftp localhost because I am not running ftp server on my machine – Suhail Gupta – 2013-10-17T14:57:47.630

try the command ps ax | grep ftp – MariusMatutiae – 2013-10-17T15:02:06.793

What is it for ? I tried..but what is it for ? – Suhail Gupta – 2013-10-17T15:59:45.873

2

ftp site.ip.address is a simple and decent way, however I would suggest you use nmap as it can scan through all the ports for you. If ftp is not running on port 21, you will at least know what other ports are open.

Get Splashed

Posted 2013-10-17T10:39:53.263

Reputation: 172

2

You can do telnet towards the FTP server telnet FTP_server_ip port

enter image description here

Renju Chandran chingath

Posted 2013-10-17T10:39:53.263

Reputation: 1 461

0

Try following

service vsftpd status

Mukesh

Posted 2013-10-17T10:39:53.263

Reputation: 121

question mentions about windows ... – prashantsunkari – 2015-05-21T21:10:53.023