{"id":955,"date":"2017-05-29T22:57:32","date_gmt":"2017-05-29T20:57:32","guid":{"rendered":"http:\/\/www.netexpertise.eu\/en\/?p=955"},"modified":"2021-10-28T08:29:34","modified_gmt":"2021-10-28T06:29:34","slug":"determine-os-within-ftp-session","status":"publish","type":"post","link":"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html","title":{"rendered":"Determine Operating System within FTP Session"},"content":{"rendered":"\n<p>The &#8220;QUOTE&#8221; keyword is essential to allow a user to run system-specific commands on FTP servers (SITE or ALLO for example). These commands do not have to be understood by FTP clients.<br>&nbsp;<br>Most FTP clients send a NOOP &#8211; that actually is a dummy packet &#8211; to keep the connection up<br><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">ftp&gt; quote noop\n200 NOOP ok.<\/code><\/pre>\n\n\n\n<p>&nbsp;<br>QUOTE SYST returns the Operating System the FTP server runs on, or at least gives you a hint.<br>&nbsp;<br>Check these 2 examples on Linux Redhat and <a href=\"\/en\/tag\/ibm-i\">IBM i<\/a>, the second giving a lot more details than the first with the exact version of the operating system.<br><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">ftp&gt; quote syst\n215 UNIX Type: L8\n\nftp&gt; quote syst\n215  OS\/400 is the remote operating system. The TCP\/IP version is \"V7R1M0\".<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The &#8220;QUOTE&#8221; keyword is essential to allow a user to run system-specific commands on FTP servers (SITE or ALLO for example). These commands do not have to be understood by FTP clients.&nbsp;Most FTP clients send a NOOP &#8211; that actually is a dummy packet &#8211; to keep the connection up &nbsp;QUOTE SYST returns the Operating [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[210,11],"tags":[418,389],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netexpertise - Determine Operating System within FTP Session<\/title>\n<meta name=\"description\" content=\"Find out the Operating system of the server you are running a FTP session on in a simple way with the QUOTE keyword\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netexpertise - Determine Operating System within FTP Session\" \/>\n<meta property=\"og:description\" content=\"Find out the Operating system of the server you are running a FTP session on in a simple way with the QUOTE keyword\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html\" \/>\n<meta property=\"og:site_name\" content=\"Netexpertise\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-29T20:57:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-28T06:29:34+00:00\" \/>\n<meta name=\"author\" content=\"dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@netexpertise\" \/>\n<meta name=\"twitter:site\" content=\"@netexpertise\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html\",\"url\":\"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html\",\"name\":\"Netexpertise - Determine Operating System within FTP Session\",\"isPartOf\":{\"@id\":\"https:\/\/www.netexpertise.eu\/en\/#website\"},\"datePublished\":\"2017-05-29T20:57:32+00:00\",\"dateModified\":\"2021-10-28T06:29:34+00:00\",\"author\":{\"@id\":\"https:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\"},\"description\":\"Find out the Operating system of the server you are running a FTP session on in a simple way with the QUOTE keyword\",\"breadcrumb\":{\"@id\":\"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.netexpertise.eu\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Determine Operating System within FTP Session\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.netexpertise.eu\/en\/#website\",\"url\":\"https:\/\/www.netexpertise.eu\/en\/\",\"name\":\"Netexpertise\",\"description\":\"Systems \/ Networks \/ DevOps\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.netexpertise.eu\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\",\"name\":\"dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"caption\":\"dave\"},\"sameAs\":[\"http:\/\/www.netexpertise.eu\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netexpertise - Determine Operating System within FTP Session","description":"Find out the Operating system of the server you are running a FTP session on in a simple way with the QUOTE keyword","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html","og_locale":"en_US","og_type":"article","og_title":"Netexpertise - Determine Operating System within FTP Session","og_description":"Find out the Operating system of the server you are running a FTP session on in a simple way with the QUOTE keyword","og_url":"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html","og_site_name":"Netexpertise","article_published_time":"2017-05-29T20:57:32+00:00","article_modified_time":"2021-10-28T06:29:34+00:00","author":"dave","twitter_card":"summary_large_image","twitter_creator":"@netexpertise","twitter_site":"@netexpertise","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html","url":"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html","name":"Netexpertise - Determine Operating System within FTP Session","isPartOf":{"@id":"https:\/\/www.netexpertise.eu\/en\/#website"},"datePublished":"2017-05-29T20:57:32+00:00","dateModified":"2021-10-28T06:29:34+00:00","author":{"@id":"https:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa"},"description":"Find out the Operating system of the server you are running a FTP session on in a simple way with the QUOTE keyword","breadcrumb":{"@id":"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.netexpertise.eu\/en\/systems\/linux\/determine-os-within-ftp-session.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.netexpertise.eu\/en"},{"@type":"ListItem","position":2,"name":"Determine Operating System within FTP Session"}]},{"@type":"WebSite","@id":"https:\/\/www.netexpertise.eu\/en\/#website","url":"https:\/\/www.netexpertise.eu\/en\/","name":"Netexpertise","description":"Systems \/ Networks \/ DevOps","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.netexpertise.eu\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa","name":"dave","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","caption":"dave"},"sameAs":["http:\/\/www.netexpertise.eu"]}]}},"_links":{"self":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/955"}],"collection":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/comments?post=955"}],"version-history":[{"count":0,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/955\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/media?parent=955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/categories?post=955"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/tags?post=955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}