Is it possible to support "folder" upload with onedrive for business?
ttestdock opened this issue · comments
Florian Kalis commented
You can checkout the branch for issue #28 (https://github.com/fkalis/bash-onedrive-upload/tree/feature/28-converged-applications).
Microsoft has one API for the personal OneDrive, one API for OneDrive for Business and the newer GraphAPI, which supports both OneDrive variants. The branch uses the latter API.
ttestdock commented
Thanks. The branch works. But it has a little issue. When I try to upload a folder that has many little files, it always failed to upload some files.
An error has occurred while uploading '/etc/cloud/downloads/API/Bulletin/API.pdf' (Code: 400)
An error has occurred while uploading '/etc/cloudtorrent/downloads/API/other/API.pdf' (Code: 404)
Is it the limit of API?
How to record the failed files?
Is it possible to auto retry upload the failed files?