Skip to content

Commit

Permalink
Error modification
Browse files Browse the repository at this point in the history
  • Loading branch information
gaowanliang committed Apr 6, 2021
1 parent 9e6fb32 commit c4f62a2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@ Usage of OneDriveUploader:
// Select the version, where 0 is the Business version and 1 is the personal (home) version, the default is 0
```

## 配置
## Config
```jsonc
{
// Authorisation tokens
"RefreshToken": "1234564567890ABCDEF",
// Maximum number of threads. (Number of simultaneous file uploads)
"ThreadNum": "2",
"ThreadNum": 2,
// Maximum upload chunk size. (The maximum chunk size for each file upload, it is recommended to reduce it if the network is not good. Unit: MB)
"BlockSize": "10",
"BlockSize": 10,
// Maximum single file size. (Currently: 100GB single file limit for Personal Edition (Home Edition); 15GB single file limit for other editions, Microsoft will update to 100GB over time. Unit: GB)
"SigleFile": "100",
"SigleFile": 100,
// Cache refresh interval.
"RefreshInterval": 1500,
// If this is the Chinese version (CenturyLink), this should be true.
Expand Down Expand Up @@ -119,7 +119,6 @@ OneDriveUploader -c xxx.json -t 10 -f "Download" -to 30
OneDriveUploader -c xxx.json -t 10 -f "Download" -tgbot "123456:xxxxxxxx" -uid 123456789

# Upload the download folder in the same directory to the root directory of onedrive network disk, use 10 threads, and use the telegram BOT parameter loader in the configuration file to monitor the upload progress in real time (provided that the configuration file contains the parameters of telegram BOT)

OneDriveUploader -c xxx.json -t 10 -f "Download" -tgbot "1"


Expand Down

0 comments on commit c4f62a2

Please sign in to comment.