0

Is there a way to get the my username when logged into an FTP client via Windows console ftp.exe?

Scenario: I've connected, logged in and successfully and have done a bunch of transfers/etc. I have multiple accounts on this FTP server, and forget who I am logged in as, can check that I am in the right account?

  • 2
    I'm afraid not. all the FTP verbs related to users and accounts (USER, ACCNT, PASS) are requests sent by the client to the server, containing the info you seek, so if you have forgotten it, the server doesn't have a verb you can use to ask the server to tell you. cr.yp.to/ftp.html you might try WinSCP, instead. IIRC it puts the session info in the window title bar. – Frank Thomas Apr 8 '15 at 16:58
1

There are no commands in Windows ftp.exe to display a currently logged-in account.

See the list of ftp subcommands.

There's even no standard FTP protocol command for that. (If it were, you could invoke it using the quote command).

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.