Socket
Book a DemoInstallSign in
Socket

ftpparser

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ftpparser

FTP LIST parsing library

pipPyPI
Version
0.0.3
Maintainers
1

ftpparser

ftpparser is a Python 3 package for parsing FTP LIST results for a variety of FTP server formats

Install:

pip3 install ftpparser

Usage:

import ftpparser

parser = ftpparser.FTPParser()
results = parser.parse(['-r-xr-xr-x   1 root  wheel  3258128 Nov 20  2019 kernel.GENERIC'])
name, size, timestamp, isdirectory, downloadable, islink, permissions = results[0]

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