Skip to main content

Gofile.io uploader supporting parallel uploads

Project description

GofileIO Uploader

A python script to upload files or directories to Gofile.io Built using asyncio, aiohttp, and tqdm

Supports

  • Gofile accounts
  • Private and public directory uploads
  • Parallel uploads
  • Retries
  • Progress bars
  • Upload logging

Usage

  1. pip install GofileIOUploader
usage: GofileIOUploader [-h] [-t TOKEN] [-z {na,eu}] [-f FOLDER] [-c CONNECTIONS] [--public | --no-public] [--save | --no-save] file

Gofile.io Uploader supporting parallel uploads

positional arguments:
  file                  File or directory to look for files in to upload

options:
  -h, --help            show this help message and exit
  -t TOKEN, --token TOKEN
                        API token for your account so that you can upload to a specific account/folder. You can also set the GOFILE_TOKEN environment variable for this
  -z {na,eu}, --zone {na,eu}
                        Server zone to prefer uploading to
  -f FOLDER, --folder FOLDER
                        Folder to upload files to overriding the directory name if used
  -c CONNECTIONS, --connections CONNECTIONS
                        Maximum parallel uploads to do at once
  --public, --no-public
                        Make all files uploaded public. By default they are private and not unsharable
  --save, --no-save     Don't save uploaded file urls to a "gofile_upload_<unixtime>.csv" file

Examples

Given

directory/
├── sample2.mkv
└── sample.mkv

Upload single file anonymously

gofile-upload directory/sample.mkv

Upload single file to your account

gofile-upload --token 123 foo directory/sample.mkv

Upload single file to directory foo in your account

gofile-upload --token 123 --folder foo directory/sample.mkv

Upload directory to your account

gofile-upload --token 123 directory

Upload directory to directory foo in your account

gofile-upload --token 123 --folder foo directory

Improvements Wishlist

  • Paid accounts support

Thanks

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

GofileIOUploader-0.9.9.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

GofileIOUploader-0.9.9-py3-none-any.whl (9.1 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