[GH-ISSUE #3394] 便携版-删除时报错:sftp.list is not a function #2300

Closed
opened 2026-02-27 00:06:52 +03:00 by kerem · 2 comments
Owner

Originally created by @langren1353 on GitHub (May 2, 2024).
Original GitHub issue: https://github.com/electerm/electerm/issues/3394

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.38.81-win-x64-portable.tar.gz

Platform detail (平台详情)

Microsoft Windows NT 10.0.19044.0 x64

What steps will reproduce the bug?(重新问题的详细步骤)

1.使用SFTP上传任意文件夹
2.删除该文件夹 - 同一用户,报错:sftp.list is not a function

Error: sftp.list is not a function
at http://127.0.0.1:30975/js/electerm-1.38.81.js:86:16028
at Object.resolve (http://127.0.0.1:30975/js/electerm-1.38.81.js:61:5380)
at Worker._p (http://127.0.0.1:30975/js/electerm-1.38.81.js:61:6272)

What should have happened?(期望的结果)

正常删除成功

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

例如FinalShell,使用同样账号进去(权限一致),能正常删除文件夹

Additional information(其他任何相关信息)

Error: sftp.list is not a function
at http://127.0.0.1:30975/js/electerm-1.38.81.js:86:16028
at Object.resolve (http://127.0.0.1:30975/js/electerm-1.38.81.js:61:5380)
at Worker._p (http://127.0.0.1:30975/js/electerm-1.38.81.js:61:6272)

Originally created by @langren1353 on GitHub (May 2, 2024). Original GitHub issue: https://github.com/electerm/electerm/issues/3394 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.38.81-win-x64-portable.tar.gz ### Platform detail (平台详情) Microsoft Windows NT 10.0.19044.0 x64 ### What steps will reproduce the bug?(重新问题的详细步骤) 1.使用SFTP上传任意文件夹 2.删除该文件夹 - 同一用户,报错:sftp.list is not a function Error: sftp.list is not a function at http://127.0.0.1:30975/js/electerm-1.38.81.js:86:16028 at Object.resolve (http://127.0.0.1:30975/js/electerm-1.38.81.js:61:5380) at Worker._p (http://127.0.0.1:30975/js/electerm-1.38.81.js:61:6272) ### What should have happened?(期望的结果) 正常删除成功 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) 例如FinalShell,使用同样账号进去(权限一致),能正常删除文件夹 ### Additional information(其他任何相关信息) Error: sftp.list is not a function at http://127.0.0.1:30975/js/electerm-1.38.81.js:86:16028 at Object.resolve (http://127.0.0.1:30975/js/electerm-1.38.81.js:61:5380) at Worker._p (http://127.0.0.1:30975/js/electerm-1.38.81.js:61:6272)
kerem 2026-02-27 00:06:52 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@zxdong262 commented on GitHub (May 3, 2024):

没有复现,方便详细描述步骤不,可能某些细节我没有做到

<!-- gh-comment-id:2091960921 --> @zxdong262 commented on GitHub (May 3, 2024): 没有复现,方便详细描述步骤不,可能某些细节我没有做到
Author
Owner

@langren1353 commented on GitHub (May 3, 2024):

应该来说还是比较好复现的,我这边换了一台电脑试试看
奇怪,无法复现了,只能考虑是换电脑后好了

<!-- gh-comment-id:2093296805 --> @langren1353 commented on GitHub (May 3, 2024): 应该来说还是比较好复现的,我这边换了一台电脑试试看 奇怪,无法复现了,只能考虑是换电脑后好了
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2300
No description provided.