Skip to main content

FTP LIST parsing library

Project description


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


pip3 install ftpparser


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.

Source Distribution

ftpparser-0.0.2.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

ftpparser-0.0.2-py3-none-any.whl (5.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page