Get File from Google cloud storage bucket using RestSharp or C# -
i trying download file . downloading using rest sharp api not succeeded, before have tried following line of code still not succeed
dim dwn objectsresource.getrequest = new objectsresource.getrequest(storageservice, "dfa_-xxxxxx", "kkkk_07-xx-20xx.log.gz") dim stm filestream = new filestream(server.mappath("dfa/kkkk_07-xx-20xx.log.gz"), filemode.create, fileaccess.write) dwn.download(stmread)//not working please suggest should .
i got c# project "sharpgs".it works fine , crate & delete buckets,download objects.
http://oleksiy.pro/2010/06/17/google-storage-api-with-c-sharpgs-try-it/
here 2 keys use . login google api console , click "here" link in given article's point 2 . redirect google cloud storage tab ,see in footer , activate interoperable storage access , active . can see access , secrete key (term use in project authkey /authsecret )
Comments
Post a Comment