Skip to main content

A Firefox Send client.

Project description

Python client to https://send.firefox.com. Encrypts and decrypts on the fly to reduce memory usage.

Lint and Test Status View on PyPI

Using

Prerequisites:

pip install clint pycryptodome requests

Usage is really simple:

python ffsend.py 'https://send.firefox.com/download/abcdef0123/#keykeykey' # download a file to the current directory
python ffsend.py path/to/file # upload a file to Firefox Send

Advanced usage

Several commands take a -t/--token parameter, which is the "Owner token" displayed after a successful upload. If you uploaded the file with your browser, the owner token will be in the browser's localStorage.

Getting file information

To get basic information:

python ffsend.py -i 'https://send.firefox.com/download/abcdef0123'

To get more information (including number of times downloaded):

python ffsend.py -i -t TOKEN 'https://send.firefox.com/download/abcdef0123'

Deleting a file

python ffsend.py --delete -t TOKEN 'https://send.firefox.com/download/abcdef0123'

Updating file settings

python ffsend.py --set-dlimit N -t TOKEN 'https://send.firefox.com/download/abcdef0123'

License

Code is copyright Robert Xiao (nneonneo@gmail.com), and is licensed under the Mozilla Public License 2.0.

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

ffsend-0.1.2.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distributions

ffsend-0.1.2-py3-none-any.whl (13.3 kB view hashes)

Uploaded Python 3

ffsend-0.1.2-py2-none-any.whl (13.3 kB view hashes)

Uploaded Python 2

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