----- "Uli Zappe" <[email protected]> wrote: > Am 11.10.2010 um 09:51 schrieb Tim Martin: > > > The client can connect to the server and authenticate OK. I can also > execute commands on the remote shell OK. However, when I try and call > libssh2_scp_recv() I always get a null result. > > [...] > > The most noticeable log line is > > > > [libssh2] 1.001111 Failure Event: -28 - Timed out waiting for SCP > response > > Could it possibly be (due to an error on the RouterOS side or > whatever) that the file you're trying to receive has a size of 0 Byte?
I don't think so. If I do $ scp [email protected]:firewall.rsc ./ then it successfully downloads as a 27Kb file. Thanks for the suggestions and info on timeouts, Tim _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
