FTPX
A lib to send a file e create folder in a FTP Server.
How to install
pip install ftpx
How to Use
from ftpx.ftpx import FTPService
ftp_server = "127.0.0.1"
ftp_login = "xxxx"
ftp_password = "yyyyy"
ftp_service = FTPService(ftp_server, ftp_login, ftp_password)
ftpX.list_files()
filename = "32210406067119000753550010000124561329097173.xml"
local_filename = "/home/user/Documentos/testes/ftp/"+filename
remote_directory = "/user/2022/01/21"
ftpX.create_directory_tree(remote_directory)
ftpX.send_file(local_filename, ftp_file_path)
Metadata
Release files for ftpx 0.1.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 |
|---|---|---|---|---|
| ftpx-0.1.0.tar.gz | 2.3 kB | Without provenance | Details for ftpx-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ftpx-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ftpx-0.1.0-py3-none-any.whl |
Total release size: 4.5 kB
Release files / ftpx-0.1.0.tar.gz
| Download URL | ftpx-0.1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4be8e49e2a1fc9de7209ad5be21ba2a41c4c648ab8f56c57bc74bf592170a11c
|
|
BLAKE2b-256 checksum How to use checksums |
6175a2614d22d1fec2327cb900519916c645dd1121833ea6468c2e91c2cf33b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|
Release files / ftpx-0.1.0-py3-none-any.whl
| Download URL | ftpx-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
800799d64d070bdc1a685ff797bdeec863648c6b23caf8406c85572a3b744d2a
|
|
BLAKE2b-256 checksum How to use checksums |
3c64a1db636e2a6467ad89d2692beba342e85b00891ffafc60fdf56627d525af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|
Security for ftpx 0.1.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.