
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
A durable extension the pysftp SFTP client: https://pysftp.readthedocs.io/
pip install durasftp
Show the help:
python -m durasftp --help
Mirror an SFTP endpoint to your local with private keys:
python -m durasftp --host some.sftp.server.com --port 22 --username your_username \
--private-key ~/.ssh/id_rsa --private-key-pass 'ULTRASECUREPASSWORD' \
--local-base /tmp/local_copy_of_server
Mirror an SFTP endpoint to your local with a password:
python -m durasftp --host some.sftp.server.com --port 22 --username your_username \
--password 'ULTRASECUREPASSWORD' \
--local-base /tmp/local_copy_of_server
This package very closely mirrors the functionality of pysftp, except it automatically recovers a connection in the event that network connectivity is intermittent.
It also introduces a mirroring functionality, where you can copy a local directory to a remote server, or copy a remote directory to the local. It will ignore files that already exist on the destination, if the file size and modification time are identical.
The DurableSFTPConnection class is intended to be a drop-in replacement for the pysftp.Connection class. With a stable network connection, it should be identical in every way.
from durasftp import DurableSFTPConnection
conn = DurableSFTPConnection(host="some.sftp.server.com", port=22, username="your_username", password="ULTRASECUREPASSWORD")
conn.listdir('/')
from durasftp import Mirrorer
mirrorer = Mirrorer(
local_base="/tmp/local_copy_of_server",
host="some.sftp.server.com",
port=22,
username="your_username",
password="ULTRASECUREPASSWORD",
timeout=3,
)
mirrorer.mirror_from_remote(dry_run=True)
FAQs
Durable SFTP connections
We found that durasftp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.