Hi!, Iīm working with sshdos to make an sftp linux client.

The client connects, list and put files without problem.
But with "get" happends something strange.
With files that have small size (less than 1 K or less), no problem; but when I try to get any file with more size, the applicattion says; Socket read error on trasprt.c At this point:

if (n = read(GlobalConfig.s,inbuf+16,PktLength-16) != PktLength - 16)

But only fails if the filesize is greater than 1kb moreless.

Anybody knows what happens?? Why this socket reading fails only for this files?

Sorry my poor english, thanks

PD: Also fails listing files if before puts a file (greater than 1kb).