Locating FTP connection from list of active connections in command prompt

By pebbles804 ·
Tags: Windows
I have two command prompts open. One that is ftp to , but didn't not completely log on with a user name and password. In the other command prompt window I entered "netstat -an" to view the list of active connections. However, I do not see the connection to the FTP site. Is there a reason why I am not able to view the connection?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Listing FTP connections with Windows Netstat

by Vallum Halo In reply to Locating FTP connection f ...

Nope. No reason that I can think of why the above command does not work. On my machine (a Windows 2008 server), the netstat -an output looks like this:


NOTE: is -- is my machine.

At a command prompt, I simply issued the following command to search for port 21 (the standard FTP port.)

netstat -an | find ":21"

I just connected, ran the command above while the ftp session was prompting for the user name.

Hope this helps.

Related Discussions

Related Forums