Code Monkey home page Code Monkey logo

teldrive-upload's Introduction

Teldrive Upload

Concurrently upload file parts using multiple threads for faster uploads. The default is set to 4 threads.

How To Use

Follow the steps below:

  1. Create the upload.env file with the following variables:
API_URL="http://localhost:8080" # URL of hosted app
SESSION_TOKEN="" # User session token, accessible from Teldrive app cookies
PART_SIZE=500M # Same as Rclone Size Format
CHANNEL_ID=0 # Channel ID where files will be saved; if not set, the default will be used as set from the UI
WORKERS=4 # Number of workers to use when uploading multi-parts of a big file; increase for higher speeds with large files (default is 4)
TRANSFERS=4 # Number of files to upload simultaneously (default is 4)
RANDOMISE_PART=true # Set random name to uploaded file (default is true)
ENCRYPT_FILES=false # Encrypt your files using Teldrive encryption (default is false)
DELETE_AFTER_UPLOAD=false # Delete each file immediately after a successful upload (default is false)
DEBUG=false # Enable debug mode to troubleshoot errors (default is false)
  1. Smaller part sizes result in faster upload speeds.
  2. Download the release binary of Teldrive Upload from the releases section.
./uploader -path "" -dest "" -workers 4 -transfers 4
Option Required Description
-path Yes Here you can pass single file or folder path.
-dest Yes Remote output path where files will be saved.
-workers No Same as WORKERS. If set, it overrides the value in upload.env.
-transfers No Same as TRANSFERS. If set, it overrides the value in upload.env.

teldrive-upload's People

Contributors

joseavilasg avatar divyam234 avatar juzkev avatar

Stargazers

Heath B avatar Mnml avatar  avatar  avatar  avatar  avatar OkeyBotrix avatar doublez avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.