Upload file parts concurrentlly in multiple threads to get faster uploads.Default is 4.
Follow Below Steps
- Create the
upload.env
file with variables given below
API_URL="http://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.