Solving AttributeError: ‘SFTP’ object has no attribute ‘proc’

Seems that great SFTP plugin for Sublime text 2 has some trouble downloading empty folder from server with resulting errors in log file:

2016-09-03 20:37:33
Traceback (most recent call last):
  File "./sftp/threads.py", line 16, in run_with_except_hook
  File "./sftp/threads.py", line 119, in handler
  File "./sftp/commands.py", line 355, in run
  File "./sftp/commands.py", line 510, in do_operation
  File "./sftp/file_transfer.py", line 47, in handler
  File "./sftp/file_transfer.py", line 519, in listr
  File "./sftp/sftp_transport.py", line 322, in close
AttributeError: 'SFTP' object has no attribute 'proc'

To bypass it just add some file to your folder and then download it via SFTP.

Leave a Reply

Your email address will not be published. Required fields are marked *