{"id":1649,"date":"2010-01-06T06:21:50","date_gmt":"2010-01-06T11:21:50","guid":{"rendered":"http:\/\/g33kinfo.com\/info\/?p=1649"},"modified":"2010-01-06T06:21:50","modified_gmt":"2010-01-06T11:21:50","slug":"woof","status":"publish","type":"post","link":"https:\/\/g33kinfo.com\/info\/woof\/","title":{"rendered":"Woof"},"content":{"rendered":"<p><tt>Woof<\/tt> is a small simple webserver that can easily be invoked on a single file. A client can access the file with tools he trusts (e.g.\u00a0<tt>wget<\/tt>). No need to enter passwords on keyboards where you don&#8217;t know about keyboard sniffers, no need to start a huge lot of infrastructure, just do a<br \/>\n<code>$ woof filename<\/code><br \/>\nand tell the recipient the URL\u00a0<tt>woof<\/tt> spits out. When he got that file,\u00a0<tt>woof<\/tt> will quit and everything is done.<\/p>\n<p>And when someone wants to send you a file,\u00a0<tt>woof<\/tt> has a switch to offer itself, so he can get\u00a0<tt>woof<\/tt> and offer a file to you.<\/p>\n<h3>Prerequisites and usage<\/h3>\n<p><tt>Woof<\/tt> needs Python on a unix&#8217;ish operating system. Some people have used it successfully on Windows within the cygwin environment.<br \/>\n    Usage: woof [-i &lt;ip_addr&gt;] [-p &lt;port&gt;] [-c &lt;count&gt;] &lt;file&gt;<br \/>\n           woof [-i &lt;ip_addr&gt;] [-p &lt;port&gt;] [-c &lt;count&gt;] [-z|-j|-Z|-u] &lt;dir&gt;<br \/>\n           woof [-i &lt;ip_addr&gt;] [-p &lt;port&gt;] [-c &lt;count&gt;] -s<br \/>\n           woof [-i &lt;ip_addr&gt;] [-p &lt;port&gt;] [-c &lt;count&gt;] -U<\/p>\n<p>    Serves a single file &lt;count&gt; times via http on port &lt;port&gt; on IP<br \/>\n    address &lt;ip_addr&gt;.<br \/>\n    When a directory is specified, an tar archive gets served. By default<br \/>\n    it is gzip compressed. You can specify -z for gzip compression,<br \/>\n    -j for bzip2 compression, -Z for ZIP compression or -u for no compression.<br \/>\n    You can configure your default compression method in the configuration<br \/>\n    file described below.<\/p>\n<p>    When -s is specified instead of a filename, woof distributes itself.<\/p>\n<p>    When -U is specified, woof provides an upload form and allows uploading files.<\/p>\n<p>    defaults: count = 1, port = 8080<\/p>\n<p>    You can specify different defaults in two locations: \/etc\/woofrc<br \/>\n    and ~\/.woofrc can be INI-style config files containing the default<br \/>\n    port and the default count. The file in the home directory takes<br \/>\n    precedence. The compression methods are &#8220;off&#8221;, &#8220;gz&#8221;, &#8220;bz2&#8221; or &#8220;zip&#8221;.<\/p>\n<p>    Sample file:<\/p>\n<p>        [main]<br \/>\n        port = 8008<br \/>\n        count = 2<br \/>\n        ip = 127.0.0.1<br \/>\n        compressed = gz<\/p>\n<h3>Download<\/h3>\n<li><a href='http:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2010\/01\/woof.txt' target=\"_blank\" rel=\"noopener noreferrer\">woof<\/a> \u2013 <span style=\"color: red;\">2009-12-27:<\/span> Upload functionality, quite some code cleanup.<\/li>\n<li><a href=\"http:\/\/www.home.unix-ag.org\/simon\/woof-2009-02-27.py\" target=\"_blank\" rel=\"noopener noreferrer\">woof<\/a> \u2013 2009-02-27: minor fix.<\/li>\n<li><a href=\"http:\/\/www.home.unix-ag.org\/simon\/woof-2009-02-17.py\" target=\"_blank\" rel=\"noopener noreferrer\">woof<\/a> \u2013 2009-02-17: support for zip (without temp files!).<\/li>\n<li><a href=\"http:\/\/www.home.unix-ag.org\/simon\/woof-2009-02-13.py\" target=\"_blank\" rel=\"noopener noreferrer\">woof<\/a> \u2013 2009-02-13: support for bz2, no dependency on an external &#8220;tar&#8221;.<\/li>\n<li><a href=\"http:\/\/www.home.unix-ag.org\/simon\/woof-2007-01-20.py\" target=\"_blank\" rel=\"noopener noreferrer\">woof<\/a> \u2013 2007-01-20: ancient woof version.<\/li>\n","protected":false},"excerpt":{"rendered":"<p>Woof is a small simple webserver that can easily be invoked on a single file. A client can access the file with tools he trusts (e.g.\u00a0wget). No need to enter passwords on keyboards where you don&#8217;t know about keyboard sniffers, no need to start a huge lot of infrastructure, just do a $ woof filename&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/g33kinfo.com\/info\/woof\/\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-1649","post","type-post","status-publish","format-standard","hentry","category-info"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Woof - Linux Shtuff<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/g33kinfo.com\/info\/woof\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Woof - Linux Shtuff\" \/>\n<meta property=\"og:description\" content=\"Woof is a small simple webserver that can easily be invoked on a single file. A client can access the file with tools he trusts (e.g.\u00a0wget). No need to enter passwords on keyboards where you don&#8217;t know about keyboard sniffers, no need to start a huge lot of infrastructure, just do a $ woof filename... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/g33kinfo.com\/info\/woof\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux Shtuff\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:author\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:published_time\" content=\"2010-01-06T11:21:50+00:00\" \/>\n<meta name=\"author\" content=\"g33kadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/drsinger1111\" \/>\n<meta name=\"twitter:site\" content=\"@drsinger1111\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/woof\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/woof\\\/\"},\"author\":{\"name\":\"g33kadmin\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"headline\":\"Woof\",\"datePublished\":\"2010-01-06T11:21:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/woof\\\/\"},\"wordCount\":387,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"articleSection\":[\"General Info\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/woof\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/woof\\\/\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/woof\\\/\",\"name\":\"Woof - Linux Shtuff\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\"},\"datePublished\":\"2010-01-06T11:21:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/woof\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/woof\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/woof\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Woof\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\",\"name\":\"Linux Shtuff\",\"description\":\"Because I have CRS Syndrome...\",\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\",\"name\":\"g33kadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"contentUrl\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"width\":512,\"height\":512,\"caption\":\"g33kadmin\"},\"logo\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\"},\"description\":\"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\\\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....\",\"sameAs\":[\"https:\\\/\\\/thelinuxreport.com\",\"https:\\\/\\\/fb.me\\\/g33kinf0\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/drsinger1111\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Woof - Linux Shtuff","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:\/\/g33kinfo.com\/info\/woof\/","og_locale":"en_US","og_type":"article","og_title":"Woof - Linux Shtuff","og_description":"Woof is a small simple webserver that can easily be invoked on a single file. A client can access the file with tools he trusts (e.g.\u00a0wget). No need to enter passwords on keyboards where you don&#8217;t know about keyboard sniffers, no need to start a huge lot of infrastructure, just do a $ woof filename... Read More","og_url":"https:\/\/g33kinfo.com\/info\/woof\/","og_site_name":"Linux Shtuff","article_publisher":"https:\/\/fb.me\/g33kinf0","article_author":"https:\/\/fb.me\/g33kinf0","article_published_time":"2010-01-06T11:21:50+00:00","author":"g33kadmin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/drsinger1111","twitter_site":"@drsinger1111","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/g33kinfo.com\/info\/woof\/#article","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/woof\/"},"author":{"name":"g33kadmin","@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"headline":"Woof","datePublished":"2010-01-06T11:21:50+00:00","mainEntityOfPage":{"@id":"https:\/\/g33kinfo.com\/info\/woof\/"},"wordCount":387,"commentCount":0,"publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"articleSection":["General Info"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/g33kinfo.com\/info\/woof\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/g33kinfo.com\/info\/woof\/","url":"https:\/\/g33kinfo.com\/info\/woof\/","name":"Woof - Linux Shtuff","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/#website"},"datePublished":"2010-01-06T11:21:50+00:00","breadcrumb":{"@id":"https:\/\/g33kinfo.com\/info\/woof\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/g33kinfo.com\/info\/woof\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/g33kinfo.com\/info\/woof\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/g33kinfo.com\/info\/"},{"@type":"ListItem","position":2,"name":"Woof"}]},{"@type":"WebSite","@id":"https:\/\/g33kinfo.com\/info\/#website","url":"https:\/\/g33kinfo.com\/info\/","name":"Linux Shtuff","description":"Because I have CRS Syndrome...","publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/g33kinfo.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547","name":"g33kadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","url":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","contentUrl":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","width":512,"height":512,"caption":"g33kadmin"},"logo":{"@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif"},"description":"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....","sameAs":["https:\/\/thelinuxreport.com","https:\/\/fb.me\/g33kinf0","https:\/\/x.com\/https:\/\/twitter.com\/drsinger1111"]}]}},"_links":{"self":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/1649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/comments?post=1649"}],"version-history":[{"count":0,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/1649\/revisions"}],"wp:attachment":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/media?parent=1649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/categories?post=1649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/tags?post=1649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}