Fleet captain

Fleet Captain is a Starfleet title given to a senior captain with a different set of responsibilities than a starship captain. This could be thought of as a higher rank than captain, although it does not possess a permanent position in the rank hierarchy (a captain could also be directly promoted to commodore, the next highest rank, without spending time at a fleet captain posting).

From Memory Alpha -- the free Star Trek reference