bash-onedrive-upload icon indicating copy to clipboard operation
bash-onedrive-upload copied to clipboard

Is it possible to support "folder" upload with onedrive for business?

Open ttestdock opened this issue 8 years ago • 2 comments

@rootik @fkalis

ttestdock avatar Mar 24 '17 01:03 ttestdock

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.

fkalis avatar Apr 04 '17 06:04 fkalis

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?

ttestdock avatar Apr 21 '17 03:04 ttestdock