SFTP connection successful but can't transfer large files

Super User Asked by Ibraheem on December 15, 2020

I’m using SFTP to transfer files between a server and a node. Session from server to node is fine, there is no permission or path issue either. And between the two devices I can put/get file of size 70Bytes without issues, but when I try larger files like 10-12 MBs, the transfer starts and immediately session is reset (closed) with error:

sftp connection closed by remote host couldn’t read packet

When I check the node, a part of the file like around 10000 bytes gets copied within a second and then session is terminated. I tried the same using different files, and tried different nodes (clients) and same situation. These clients are some telecom devices. Any help/idea? I don’t use SFTP much so not sure if I have to enable some switch or mode to make it work.

One Answer

Try to disable "Optimize connection buffer size" in the Advanced Site Settings dialog :

enter image description here

You could also try scp as an alternative.

Answered by harrymc on December 15, 2020

Add your own answers!

Related Questions

VPN server behind a NAT without port forwarding

1  Asked on November 29, 2021 by testvpn


ffmpeg – Overlay one video on to another

1  Asked on November 29, 2021 by nisarg


Is it possible to force print a PDF file borderless?

2  Asked on November 29, 2021 by sjonteflon


How to remove all line breaks from text file using Batch

2  Asked on November 29, 2021 by user3754804


How to disable Ctrl+Alt+Left/Right on KDE?

1  Asked on November 29, 2021 by jos-roberto-arajo-jnior


Avoiding duplicate MySQL queries in different processes

1  Asked on November 29, 2021 by murilo-schmalfuss


Why is the BIOS Update option missing from my HP Laptop?

3  Asked on November 29, 2021 by ng-newbie


VLC only in Windows 7 system tray?

5  Asked on November 27, 2021 by battistis


How to edit a read-only document in LibreOffice?

5  Asked on November 27, 2021 by testuser16418


Removing ANSI color codes from text stream

15  Asked on November 27, 2021


How to find and replace string data in text file

4  Asked on November 27, 2021 by user354113


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP