May 29 2017

Determine OS within FTP Session

Published by at 10:57 pm under Networking

The “QUOTE” FTP keyword is essential to allow a user to run system-specific commands on servers (eg SITE or ALLO)
Most FTP clients send a NOOP – that actually is a dummy packet – to keep the connection up

ftp> quote noop
200 NOOP ok.

QUOTE SYST returns the Operating System the FTP server runs on, or at least gives you a hint.
Check these 2 examples on Linux Redhat and IBM i, the second giving more details than the first

ftp> quote syst
215 UNIX Type: L8

ftp> quote syst
215  OS/400 is the remote operating system. The TCP/IP version is "V7R1M0".

No responses yet

Trackback URI | Comments RSS

Leave a Reply