Sublime Forum

Problems with sftp in sublime text 4

#1

In the last night I wanted to synchronize my remote folder with my local folder with SFTP and it happened to me the following error:

2023-08-24 07:32:42
Error parsing remote folder listing:
drwxrwxrwx 7 danielj apache 4096 Aug 23 22:09 .
drwxrwxrwx 21 danielj apache 4096 Aug 23 22:09 …
drwxrwxrwx 2 danielj apache 4096 Aug 23 22:09 CSS
drwxrwxrwx 2 danielj apache 4096 Aug 23 22:09 HTML
drwxrwxrwx 2 danielj apache 4096 Aug 23 22:09 URI
-rwxrwxrwx 1 danielj apache 540061 Aug 23 22:09 application.log
-rwxrwxrwx 1 danielj apache 1049026 Aug 23 22:09 application.log.1
-rwxrwxrwx 1 danielj apache 1049292 Aug 23 22:09 application.log.2
-rwxrwxrwx 1 danielj apache 1050836 Aug 23 22:09 application.log.3
-rwxrwxrwx 1 danielj apache 1050318 Aug 23 22:09 application.log.4
-rwxrwxrwx 1 danielj apache 1050873 Aug 23 22:09 application.log.5
drwxrwxrwx 2 danielj apache 4096 Aug 23 22:09 gii-1.1.12
drwxrwxrwx 2 danielj apache 4096 Aug 23 22:09 gii-1.1.13
-rwxrwxrwx 1 danielj apache 226675581 Aug 23 22:09 log.txt
-rwxrwxrwx 1 danielj apache 1 Aug 23 22:09 log.txtEntra

-rwxrwxrwx 1 danielj apache 1 Aug 23 22:09 log.txtEntra1

-rwxrwxrwx 1 danielj apache 1 Aug 23 22:09 log.txtEntra3

-rwxrwxrwx 1 danielj apache 291 Aug 23 22:09 log2.txt
-rwxrwxrwx 1 danielj apache 88 Aug 23 22:09 state.bin
2023-08-24 07:32:42
Traceback (most recent call last):
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\commands.py”, line 508, in run
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\commands.py”, line 654, in do_operation
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\file_transfer.py”, line 53, in handler
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\file_transfer.py”, line 494, in listr
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\file_transfer.py”, line 53, in handler
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\file_transfer.py”, line 464, in list
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\sftp_transport.py”, line 376, in cd
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\proc.py”, line 225, in read
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\proc.py”, line 191, in read
SFTP.sftp.errors.DisconnectionError: Disconnected

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\threads.py”, line 43, in run_with_except_hook
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\threads.py”, line 152, in handler
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\commands.py”, line 524, in run
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\commands.py”, line 654, in do_operation
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\file_transfer.py”, line 53, in handler
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\file_transfer.py”, line 508, in listr
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\file_transfer.py”, line 53, in handler
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\file_transfer.py”, line 471, in list
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\sftp_transport.py”, line 511, in ls
File “\?\C:\Users\will\AppData\Roaming\Sublime Text\Packages\SFTP\sftp\file_transfer.py”, line 868, in parse_ls
SFTP.sftp.errors.ConnectionError: Error parsing remote folder listing

Before last night the sftp was working fine for me.
Can someone help me with this error? Thank you

0 Likes

#2

I released v2.1.0 last night that should resolve this issue.

2 Likes