|
|
@ -1,7 +1,7 @@
|
|
|
|
import pytahoe
|
|
|
|
import pytahoe
|
|
|
|
|
|
|
|
|
|
|
|
fs = pytahoe.Filesystem("http://localhost:3456/")
|
|
|
|
#fs = pytahoe.Filesystem("http://localhost:3456/")
|
|
|
|
print fs
|
|
|
|
#print fs
|
|
|
|
#tdir = fs.Directory("URI:DIR2:jjw572jvowd473fo2n7rw6uiai:hloglrouhwgjpubcpyq5nrb4ezyijdfiboe3hquadgzjrmkdikxa")
|
|
|
|
#tdir = fs.Directory("URI:DIR2:jjw572jvowd473fo2n7rw6uiai:hloglrouhwgjpubcpyq5nrb4ezyijdfiboe3hquadgzjrmkdikxa")
|
|
|
|
#print tdir
|
|
|
|
#print tdir
|
|
|
|
#for name, item in tdir.children.iteritems():
|
|
|
|
#for name, item in tdir.children.iteritems():
|
|
|
@ -9,3 +9,6 @@ print fs
|
|
|
|
|
|
|
|
|
|
|
|
#print fs.create_directory().mount("test")
|
|
|
|
#print fs.create_directory().mount("test")
|
|
|
|
#print fs.upload("test.py")
|
|
|
|
#print fs.upload("test.py")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fs = pytahoe.Filesystem("http://tahoe.ccnmtl.columbia.edu/")
|
|
|
|
|
|
|
|
fs.Directory("URI:DIR2:cbk47f5lybaj5qh6bm6eedezwe:m525plntx47u44xvf44r6rliec3gp6yeyio7olndibtke75zb6fa").mount("test")
|
|
|
|