[GH-ISSUE #791] sftp error Error: No such file #459

Closed
opened 2026-02-26 23:59:36 +03:00 by kerem · 6 comments
Owner

Originally created by @blue-bird1 on GitHub (Oct 11, 2018).
Original GitHub issue: https://github.com/electerm/electerm/issues/791

electerm version:

0.24.33

operating system(linux, macos, or windows?):

window

Expected Behavior

sftp

Current Behavior

error tip

Possible Solution

Steps to Reproduce

1.ssh server
2.error tip

Context (Environment)

Detailed Description

sftp error
electerm.0.24.33-6dcabb68335774c5960f39a0e83e5acbc1b69aa9.js:5 No such file
electerm.0.24.33-6dcabb68335774c5960f39a0e83e5acbc1b69aa9.js:5 Error: No such file
    at SFTPStream._transform (C:\Users\Administrator\Downloads\electerm-0.24.33-win (1).tar\electerm-0.24.33-win-x64\resources\app.asar\node_modules\ssh2-streams\lib\sftp.js:412:27)
    at SFTPStream.Transform._read (_stream_transform.js:186:10)
    at SFTPStream._read (C:\Users\Administrator\Downloads\electerm-0.24.33-win (1).tar\electerm-0.24.33-win-x64\resources\app.asar\node_modules\ssh2-streams\lib\sftp.js:183:15)
    at SFTPStream.Transform._write (_stream_transform.js:174:12)
    at doWrite (_stream_writable.js:387:12)
    at writeOrBuffer (_stream_writable.js:373:5)
    at SFTPStream.Writable.write (_stream_writable.js:290:11)
    at Channel.ondata (_stream_readable.js:639:20)
    at emitOne (events.js:116:13)
    at Channel.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Channel.Readable.push (_stream_readable.js:208:10)
    at SSH2Stream.<anonymous> (C:\Users\Administrator\Downloads\electerm-0.24.33-win (1).tar\electerm-0.24.33-win-x64\resources\app.asar\node_modules\ssh2\lib\Channel.js:166:15)
    at emitOne (events.js:116:13)
    at SSH2Stream.emit (events.js:211:7)

Suggestions?

Originally created by @blue-bird1 on GitHub (Oct 11, 2018). Original GitHub issue: https://github.com/electerm/electerm/issues/791 <!--- Provide some basic info --> ## electerm version: 0.24.33 ## operating system(linux, macos, or windows?): window ## Expected Behavior <!--- Tell me what should happen --> sftp ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> error tip ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1.ssh server 2.error tip ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ``` sftp error electerm.0.24.33-6dcabb68335774c5960f39a0e83e5acbc1b69aa9.js:5 No such file electerm.0.24.33-6dcabb68335774c5960f39a0e83e5acbc1b69aa9.js:5 Error: No such file at SFTPStream._transform (C:\Users\Administrator\Downloads\electerm-0.24.33-win (1).tar\electerm-0.24.33-win-x64\resources\app.asar\node_modules\ssh2-streams\lib\sftp.js:412:27) at SFTPStream.Transform._read (_stream_transform.js:186:10) at SFTPStream._read (C:\Users\Administrator\Downloads\electerm-0.24.33-win (1).tar\electerm-0.24.33-win-x64\resources\app.asar\node_modules\ssh2-streams\lib\sftp.js:183:15) at SFTPStream.Transform._write (_stream_transform.js:174:12) at doWrite (_stream_writable.js:387:12) at writeOrBuffer (_stream_writable.js:373:5) at SFTPStream.Writable.write (_stream_writable.js:290:11) at Channel.ondata (_stream_readable.js:639:20) at emitOne (events.js:116:13) at Channel.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Channel.Readable.push (_stream_readable.js:208:10) at SSH2Stream.<anonymous> (C:\Users\Administrator\Downloads\electerm-0.24.33-win (1).tar\electerm-0.24.33-win-x64\resources\app.asar\node_modules\ssh2\lib\Channel.js:166:15) at emitOne (events.js:116:13) at SSH2Stream.emit (events.js:211:7) ``` ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem 2026-02-26 23:59:36 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@zxdong262 commented on GitHub (Oct 20, 2018):

github.com/electerm/electerm@f3c5db024e

<!-- gh-comment-id:431561774 --> @zxdong262 commented on GitHub (Oct 20, 2018): https://github.com/electerm/electerm/commit/f3c5db024ec9cc63839522c27c539ab5ec7cd9bd
Author
Owner

@zxdong262 commented on GitHub (Oct 20, 2018):

Released new version with bug fixes

<!-- gh-comment-id:431568475 --> @zxdong262 commented on GitHub (Oct 20, 2018): Released new version with bug fixes
Author
Owner

@blue-bird1 commented on GitHub (Oct 20, 2018):

I try new version,but it not work

<!-- gh-comment-id:431595227 --> @blue-bird1 commented on GitHub (Oct 20, 2018): I try new version,but it not work
Author
Owner

@blue-bird1 commented on GitHub (Oct 20, 2018):

my /root/ dir have link dir

lrwxrwxrwx   1 root root   13 Sep 11 01:22 .multirust -> /root/.rustup/

I rm it ,sftp will work very well

<!-- gh-comment-id:431595542 --> @blue-bird1 commented on GitHub (Oct 20, 2018): my /root/ dir have link dir ``` lrwxrwxrwx 1 root root 13 Sep 11 01:22 .multirust -> /root/.rustup/ ``` I rm it ,sftp will work very well
Author
Owner

@zxdong262 commented on GitHub (Oct 20, 2018):

@blue-bird1 Thank you for the feedback.

<!-- gh-comment-id:431626666 --> @zxdong262 commented on GitHub (Oct 20, 2018): @blue-bird1 Thank you for the feedback.
Author
Owner

@zxdong262 commented on GitHub (Oct 21, 2018):

@blue-bird1 Released new version with bug fix, should be ok now

<!-- gh-comment-id:431631078 --> @zxdong262 commented on GitHub (Oct 21, 2018): @blue-bird1 Released new version with bug fix, should be ok now
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#459
No description provided.