Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0(Copying files to remote side failed)

What SFTP server are you connecting to? Can you post a complete log file?
brian433677

Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0(Copying files to remote side failed)

Hi All,
I first SFTP to a remote server (interactive logon) and tried to upload some files (~2GB) to the server from my computer. But after a minute uploading it shows Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0" then after I clicked abort shows "Copying files to remote side failed". I tried changing to binary mode transfer, but still has the same error. After reconnecting, I see some fileparts that are partially uploaded.
I tried uploading smaller files before and they worked fine, so is it the size of files that cause this issue?
Here is the log:
. 2022-09-07 14:22:41.612 File: 'C:\Users\bwu\bioinfo\Mus_musculus.GRCm38.93.gtf' [2022-09-06T22:45:13.675Z] [777923733]
. 2022-09-07 14:22:41.612 Copying "C:\Users\bwu\bioinfo\Mus_musculus.GRCm38.93.gtf" to remote directory started.
. 2022-09-07 14:22:41.613 Binary transfer mode selected.
. 2022-09-07 14:22:41.613 Checking existence of file.
> 2022-09-07 14:22:41.613 Type: SSH_FXP_LSTAT, Size: 85, Number: 12295
< 2022-09-07 14:22:41.613 Type: SSH_FXP_STATUS, Size: 24, Number: 12036
. 2022-09-07 14:22:41.613 Discarding reserved response
< 2022-09-07 14:22:41.829 Type: SSH_FXP_STATUS, Size: 29, Number: 12295
< 2022-09-07 14:22:41.829 Status code: 2
. 2022-09-07 14:22:41.829 Checking existence of partially transferred file.
> 2022-09-07 14:22:41.829 Type: SSH_FXP_LSTAT, Size: 94, Number: 12551
< 2022-09-07 14:22:42.046 Type: SSH_FXP_STATUS, Size: 29, Number: 12551
< 2022-09-07 14:22:42.047 Status code: 2
. 2022-09-07 14:22:42.047 Opening remote file.
> 2022-09-07 14:22:42.047 Type: SSH_FXP_OPEN, Size: 110, Number: 12803
< 2022-09-07 14:22:42.262 Type: SSH_FXP_HANDLE, Size: 13, Number: 12803
> 2022-09-07 14:22:42.262 Type: SSH_FXP_WRITE, Size: 32761, Number: 13318
. 2022-09-07 14:22:50.126 Increasing send buffer from 524288 to 1048576
< 2022-09-07 14:22:57.267 Status code: 4, Message: 95494, Server: Failure, Language: 
. 2022-09-07 14:22:57.310 Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0
. 2022-09-07 14:22:57.310 Attempt to close connection due to fatal exception:
* 2022-09-07 14:22:57.310 Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0
. 2022-09-07 14:22:57.311 Closing connection.
. 2022-09-07 14:22:57.311 Fatal error while disposing the SFTP queue.
. 2022-09-07 14:22:57.311 Connection was lost, asking what to do.
. 2022-09-07 14:22:57.312 Asking user:
. 2022-09-07 14:22:57.312 Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0 ()
. 2022-09-07 14:23:00.414 Answer: Abort
* 2022-09-07 14:23:00.431 (ESshFatal) Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0
* 2022-09-07 14:23:00.431 Copying files to remote side failed.