Metadata-Version: 2.1
Name: ffsend
Version: 0.1.3
Summary: A Firefox Send client.
Home-page: https://github.com/nneonneo/ffsend
Author: Robert Xiao
Author-email: robert.bo.xiao@gmail.com
License: MPL 2.0
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Utilities
Classifier: Topic :: Communications :: File Sharing
Description-Content-Type: text/markdown
Requires-Dist: clint
Requires-Dist: pycryptodome
Requires-Dist: requests

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

[![Lint and Test Status](https://github.com/nneonneo/ffsend/workflows/Lint%20and%20Test/badge.svg)](https://nneonneo.github.io/ffsend/report/)
[![View on PyPI](https://badge.fury.io/py/ffsend.svg)](https://pypi.org/project/ffsend/)

## Using

Prerequisites:

```bash
pip install ffsend
```

Usage is really simple:

```bash
ffsend 'https://send.firefox.com/download/abcdef0123/#keykeykey' # download a file to the current directory
ffsend 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:

```bash
ffsend -i 'https://send.firefox.com/download/abcdef0123'
```

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

```bash
ffsend -i -t TOKEN 'https://send.firefox.com/download/abcdef0123'
```

### Deleting a file

```bash
ffsend --delete -t TOKEN 'https://send.firefox.com/download/abcdef0123'
```

### Updating file settings

```bash
ffsend --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.


