ftpretty | A wrapper for simple FTP operations : get , put , list etc | FTP library
kandi X-RAY | ftpretty Summary
kandi X-RAY | ftpretty Summary
A wrapper for simple FTP operations: get, put, list etc.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return whether the given path is a relative path
- Get remote file
- Read file contents
ftpretty Key Features
ftpretty Examples and Code Snippets
Community Discussions
Trending Discussions on ftpretty
QUESTION
I've been looking for SFTP python packages, ftpretty works fine for me: https://pypi.org/project/ftpretty/ but I want to use a more secure protocol.
PySftp is obviously a bit outdated (Edit: it seems that pysftp is still frequently used, about the error please see below): https://bitbucket.org/dundeemt/pysftp/src/master/
And throws me several errors on Win10, PyCharm, Python3.6:
...ANSWER
Answered 2021-Mar-07 at 17:24For the first error, it seems like a bug in pysftp
.
You can have a look at the Connection
class here on line 76, and the attribute _sftp_live
is defined on line 134, so this is definitely an error occurring at runtime without being validated correctly. I have also been able to find this related error, which likely explains the cause of this issue; the solution is also mentioned in the error if you want to explicitly fix it.
I would still consider using ftpretty
. It does use TLS
for security and a pretty safe wrapper, you can simply enable it by setting the secure parameter to True (secure=True
) - which by default is set as False
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ftpretty
You can use ftpretty like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page