node-sftp-s3
                                
                                 node-sftp-s3 copied to clipboard
                                
                                    node-sftp-s3 copied to clipboard
                            
                            
                            
                        READ returned more bytes than requested
I'm having issues with READ returning bigger packets than the client requested. Both using Transmit and FileZilla on MacOS.
I'm using the package as used in the example with files of size around 10 megabytes.
Is this something you have experienced yourself?
Best Regards Thomas
Hi Thomas, I don't believe I've ever noticed this issue. Is it causing file corruption?
It's causing my client to give up the transfer. I'll investigate further in the morning. Just wanted to hear if you had ever noticed it before.
For me all files above 32k (32768) bytes fails when downloading. Upload works fine. 64k files fails as well.
Seems like you want to send 32k (or whatever the client asks for) packets but that the packets sent are all of the full file length. Looking at line 202 of node-sftp-s3.js and forward
Thanks, I think I can look into this next week. If you happen to fix it, I'll gladly accept a PR.