Skip to main content

Upload files to kDrive

Project description

Upload files to kDrive - Infomaniak

Installation

python3 setup.py install

Configuration

Create an app password here: https://manager.infomaniak.com/v3/profile/application-password

Then you create a file kdrive-upload.cfg inside current directory, or ~/.config/kdrive-upload.cfg or /etc/kdrive-upload.cfg like this:

[credentials]
username = xxx
password = xxx

You can also export KDRIVE_USERNAME or KDRIVE_PASSWORD environment variables to override these

Usage

$ kdrive-upload --help
usage: kdrive_upload [-h] [--drive DRIVE] [--keep] dest file

Upload to kDrive

positional arguments:
  dest           destination directory
  file           file to upload

optional arguments:
  -h, --help     show this help message and exit
  --drive DRIVE
  --keep         keep files after upload

As you can see, by default it deletes local file after upload

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kdrive_upload-0.6.1.tar.gz (15.6 kB view hashes)

Uploaded Source

Built Distribution

kdrive_upload-0.6.1-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page