Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

drb-impl-ftp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drb-impl-ftp

DRB Ftp implementation

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

Ftp Implementation

This drb-impl-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.impl.
The implementation name is ftp.
The factory class is encoded into drb_impl_ftp.drb_impl_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-impl-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_impl_ftp import DrbFtpNode
from drb_impl_ftp import BasicAuth

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

Ftp protocol allows navigation inside the ftp server. To do so this implementation 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 implementation can be found here https://drb-python.gitlab.io/impl/ftp

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc