We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f08662 commit 5acfdb2Copy full SHA for 5acfdb2
README.rst
@@ -103,6 +103,16 @@ __________
103
del_ret = cos_client.del_file(request)
104
print 'del file ret:', repr(del_ret)
105
106
+ # 8. 下载文件
107
+ request = DownloadFileRequest(bucket, u'/sample_file_move.txt')
108
+ del_ret = cos_client.download_file(request)
109
+ print 'del file ret:', repr(del_ret)
110
+
111
+ # 9. 下载文件到内存
112
+ request = DownloadObjectRequest(bucket, u'/sample_file_move.txt')
113
+ fp = cos_client.download_object(request)
114
+ fp.read()
115
116
############################################################################
117
# 目录操作 #
118
0 commit comments