

def _req_files_move(self, pid, fids):
    '\n        Move files or directories\n        :param str pid: destination directory id\n        :param list fids: a list of ids of files or directories to be moved\n        '
    url = (self.web_api_url + '/move')
    data = {
        
    }
    data['pid'] = pid
    for (i, fid) in enumerate(fids):
        data[('fid[%d]' % i)] = fid
    req = Request(method='POST', url=url, data=data)
    res = self.http.send(req)
    if res.state:
        return True
    else:
        raise RequestFailure('Failed to access files API.')

dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py API._req_files_move/original