cos-python-sdk-v4
cos-python-sdk-v4 copied to clipboard
why max_num is only 199
i change the cos_request.py -ListFolderRequest()
def init(self, bucket_name, cos_path, num=10000, prefix=u'', context=u'') you can see ,i changed num = 10000
then {u'message': u'ERROR_CGI_PARAM_LIST_NUM_ERROR', u'code': -5966, u'request_id': u''}
Hi, It depends on server's implement.
so,how can i solve this problem,like a folder has 2000 pictures,i want to get their infomations. but i just could get the first 199 pictures when i Initiate a request。
there is a parameter called marker
. FYI: https://github.com/Liuchang0812/dump_cos_bucket/blob/master/dump_bucket/main.py#L11