Comments (2)
Thanks for your feedback @OttomanZ !
Before executing any command (like uploading a file), the tool checks if the access token needs to be renewed. If this is the case, it uses the refresh token to renew it. Afterwards, the actual command is executed. The access token expires after 60 minutes according to Microsoft's docs.
So, if you're using a shell script with a loop to upload the files, and upload one file at once, you should not run into issues. However, try and validate this before actually deleting the files from the server.
from onedrive-uploader.
Thanks.
from onedrive-uploader.
Related Issues (20)
- Add estimate time or progress bar for upload/download HOT 1
- Can not Login HOT 2
- Could not read config: open ./config.json: no such file or directory HOT 5
- Could not log in: received unexpected status code 401 HOT 2
- Very slow upload on big files HOT 1
- Implement retention management
- Add an Automatic Filename Normalizer (OneDrive Supported Filenames) HOT 2
- Add support for golang library HOT 4
- Personal OneDrive usage? HOT 1
- Upload file to shared folder
- Page not found HOT 1
- Upload .rar from a folder
- Unable to login: 401 Unauthorized (AADSTS700025) HOT 3
- Missing instructions on how to upload to the App Folder HOT 1
- Upload speed much lower than via the browser HOT 2
- The connection for this site is not secure
- Could not renew access token: received unexpected status code 400
- I have go installed, after I buld from binary, it doesn't work HOT 2
- Received unexpected status code 400 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onedrive-uploader.