From 8769f2eeba1e3e8011186755418002da50ddb0ed Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Mon, 9 Jul 2007 18:19:53 -0700
Subject: [PATCH] tahoe-get.py: the first, most primitive command-line client

---
 src/allmydata/scripts/tahoe-get.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 src/allmydata/scripts/tahoe-get.py

diff --git a/src/allmydata/scripts/tahoe-get.py b/src/allmydata/scripts/tahoe-get.py
new file mode 100644
index 00000000..4a034d5a
--- /dev/null
+++ b/src/allmydata/scripts/tahoe-get.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+
+import sys, urllib
+
+def GET(url):
+    f = urllib.urlopen(url)
+    sys.stdout.write(f.read())
+
+vfname = sys.argv[1]
+
+base = "http://tahoebs1.allmydata.com:8011/"
+base += "vdrive/global/"
+url = base + vfname
+
+GET(url)
-- 
2.45.2