Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

divyam234/teldrive-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teldrive Upload

Upload file parts concurrentlly in multiple threads to get faster uploads.Default is 4.

How To Use

Follow Below Steps

  • Create the upload.env file with variables given below
API_URL="http:https://localhost:8000" # url of hosted app
SESSION_TOKEN="" #user session token which can be fetched from teldrive app from cokies
PART_SIZE=1000M # Same as Rclone Size Format
CHANNEL_ID="" # Channel ID where files will be saved if not set default will be used which is set from UI
WORKERS=4 # Number of current workers to use when uploading multi-parts of a big file, increase this to attain higher speeds with large files (4 is default)
RANDOMISE_PART=true # Set random name to uploaded file (default true)
  • Smaller part size will give max upload speed.
  • Download release binary of teldrive upload from releases section.
./uploader -path "" -dest ""
  • -path here you can pass single file or folder path.
  • -dest is remote output path where files will be saved.