![javascript](https://habrastorage.org/r/w120/webt/59/cc/76/59cc7600c78a2239379574.jpeg)
JavaScript
3
Вклад в тег
import pysftp
with pysftp.Connection('hostname', username='me', password='secret') as sftp:
with sftp.cd('public'): # temporarily chdir to public
sftp.put('/my/local/filename') # upload file to public/ on remote
sftp.get('remote_file') # get a remote file