Exemple #1
0
 def rmFile(filename):
   #print "%s is removed" % filename
   gs = Googlestorage() # this is evil.. do i need to make global goolgestorage object??? idk
   gs.delete_objects_and_buckets(filename)
Exemple #2
0
 def newFile(filename):
   print "new file is comming"
   #pushing this file into cloud
   gs = Googlestorage()
   #print gs.list_objects()
   gs.upload_objects(filename)