When using libssh2_scp_send64 to copy file to linux server and passing timestamp as mtime parameter file mtime is not correctly set. I found following posting - https://www.libssh2.org/mail/libssh2-devel-archive-2013-04/0038.shtml and I modified my code to send NULL byte after sending file is completed (before libssh2_channel_send_eof call). That worked for 5937 byte xml file, but did not work for 655653 byte exe file.
-- Virgo Pärna virgo.pa...@mail.ee _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel