FTPDownloader
DEPRACATED / NOT MAINTAINED I am only here for some downstream dependecies
This is a wrapper for "ftplib" to help bulk downloading directories on a FTP Server
Install
pip3 install git+https://git.connect.dzd-ev.de/dzdpythonmodules/ftpdownloader
How to use
from FTPDownloader import FTPDownloader
config = {
"url": "ftp.ncbi.nlm.nih.gov",
"port": 21,
"user": "anonymous",
"pw": "anonymous",
"base_path": "/bioproject/Schema.v.1.2/",
"dest_path": "/tmp/data/",
"not_to_save_extentions": ["md5", "txt"],
"overwrite_existing": True,
"verify_file": True,
"verify_throw_error_when_failed": True,
"verify_fallback_to_size_comparison": False,
}
dl = FTPDownloader.from_config_dict(config)
# Optional list all files and dirs
dl.get_remote_file_list()
print(dl.list_ftp_directory())
# Download all files with a progress bar
dl.enable_progress_bar()
dl.download_all()
Metadata
Release files for FTPDownloader 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FTPDownloader-1.3.0.tar.gz | 15.6 kB | Without provenance | Details for FTPDownloader-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FTPDownloader-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for FTPDownloader-1.3.0-py3-none-any.whl |
Total release size: 32.3 kB
Release files / FTPDownloader-1.3.0.tar.gz
| Download URL | FTPDownloader-1.3.0.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
668886cc1fe9971f1d29c9a890922792edbafbd7752ac7a9822600b744175308
|
|
BLAKE2b-256 checksum How to use checksums |
6f47282d4a2830579b598f59f8425fbc0cb6156475e5d63d9f8197194506c397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / FTPDownloader-1.3.0-py3-none-any.whl
| Download URL | FTPDownloader-1.3.0-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8bd146aa0b0a8258a6fbb0548212dd62f68b91348136b25dc050eae3e7fe29b
|
|
BLAKE2b-256 checksum How to use checksums |
7b52b3fd6497ddd81caea4149d13893de71e2ba049efbef54b9bc4e9442bf161
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Security for FTPDownloader 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.