Skip to main content

Ftp driver

This drb-driver-ftp module implements ftp protocol access with DRB data model.

Ftp Factory and Ftp Node

The module implements the factory model defined in DRB in its node resolver. Based on the python entry point mechanism, this module can be dynamically imported into applications.

The entry point group reference is drb.driver.
The driver name is ftp.
The factory class is encoded into drb.driver.ftp.
The ftp signature id is d61c923a-5f1b-11ec-bf63-0242ac130002

The Ftp can be instantiated from an uri. The ParsedPath class provided in drb core module can help to manage these inputs.

Using this module

The project is present in https://www.pypi.org service. it can be freely loaded into projects with the following command line:

pip install drb-driver-ftp

Access Data

DrbFtpNode manages the ftp protocol to access remote data. The construction parameter is an url with the host and an authentication object. Both FTP and FTPS are supported. They allow access the ftp content.

from drb.drivers.ftp import DrbFtpNode
from requests.auth import HTTPBasicAuth

node = DrbFtpNode("URL", "HOST", auth=HTTPBasicAuth("username", "password"))

Ftp protocol allows navigation inside the ftp server. To do so this driver is able to provide children of the same FTP type.

Authentication

FTP node is able to manage Basic authentication based on username and password, as well as TLS ans SSL authentication by using the FTP_TLS.auth().
This method set up a secure control connection. By default, the node will try to connect with the SSL protocol if you want to change protocol you have to give You can find all the version of TLS and SSL supported here https://docs.python.org/3/library/ftplib.html#ftplib.FTP_TLS.ssl_version

Limitations

None

Documentation

The documentation of this driver can be found here https://drb-python.gitlab.io/impl/ftp

Release files for drb-driver-ftp 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drb-driver-ftp 1.4.1
File Size Uploaded
drb_driver_ftp-1.4.1.tar.gz 30.0 kB Details

Release files / drb_driver_ftp-1.4.1.tar.gz

Download URL drb_driver_ftp-1.4.1.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1cc46ab0c15d6d2f9a8f1b5550929468e611f0c29d966f6cfb030cfcb064b5a5
BLAKE2b-256 checksum
How to use checksums
e2cf1d5b73d799268245b23c5516e4ffedcc73c63c3577da3893a7a9e897d317
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/9.0.0 pkginfo/1.12.1.2 requests/2.34.2 requests-toolbelt/1.0.0 tqdm/4.68.3 CPython/3.11.15

Release history Release notifications | RSS feed

This release

1.4.1 This release

1 release file

1.4.0

1 release file

1.3.4

1 release file

1.3.3

1 release file

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page