FTP client wrapper
pyftpclient is a library that is made to make work with FTP/SFTP simple. it has the common functions that you would use when working with a regular file system, like open a file listdir, and glob, delete file or directory. It also has funcitons to simple download/upload of the files and directories from/to remote drive. The library takes care about opening and closing the sessions, so you don't have to worry about it
SFTPClient example
from pyftpclient.sftp_client import SFTPClient
connection_config = {
'hostname': '127.0.0.1',
'username': 'viewonly',
'password': 'viewonly'
}
with SFTPClient(**connection_config) as sftp:
print(sftp.listdir('/')
sftp.download_file('/home/src_file'), '~/dst_file')
sftp.download_tree(src_dir, dst_dir)
FTPClient example
from pyftpclient.ftp_client import FTPClient
connection_config = {
'hostname': '127.0.0.1',
'username': 'viewonly',
'password': 'viewonly'
'port': 21
}
with FTPClient(**connection_config) as ftp:
print(ftp.listdir('/')
ftp.download_file('/home/src_file'), '~/dst_file')
ftp.download_tree(src_dir, dst_dir)
Metadata
Release files for pyftpclient 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyftpclient-0.2.0.tar.gz | 8.3 kB | Without provenance | Details for pyftpclient-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyftpclient-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pyftpclient-0.2.0-py3-none-any.whl |
Total release size: 18.7 kB
Release files / pyftpclient-0.2.0.tar.gz
| Download URL | pyftpclient-0.2.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c213aaec0ee9d986b896cd840b397cdbbce9dddeb3545ca6b184de73d1b1f80b
|
|
BLAKE2b-256 checksum How to use checksums |
5ca565aa9e0242861ecd65cb275caec20964e579e2ffb9314303ca7a7767a171
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Release files / pyftpclient-0.2.0-py3-none-any.whl
| Download URL | pyftpclient-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffb0df10c4953458fad031be3deee5a00c238c194ea5bce92fc8800370457a84
|
|
BLAKE2b-256 checksum How to use checksums |
86ad8be2640b69d25659eb58228f7898dda51c64a3497740cd6e44f7dddbae2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Security for pyftpclient 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.