Skip to main content

FTP LIST parsing library

Project description

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]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ftpparser, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size ftpparser-0.0.3-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ftpparser-0.0.3.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page