[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SCP support on Windows
[Thread Prev] | [Thread Next]
- Subject: SCP support on Windows
- From: Antoine Villeret <antoine.villeret@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 13 Jul 2018 17:25:01 +0200
- To: libssh@xxxxxxxxxx
Dear libssh dev, I would like to know if scp subsystem is supported under Windows ? I have some doubt because 1) scp example are disabled for Windows build in CMakeLists.txt and 2) my attempts fail with corrupted file. More precisely, the same code works fine on Linux, but when executing it on Windows, I get file a little bit bigger than expected (I'm trying to transfer JPG image). For example, transferring a 20 902 bytes file results in a 21 005 bytes file. I see some similarity between the 2, the new one have sometimes one added byte. Moreover, libssh report the right transferred size (20 902 bytes). So it might be an issue when writing file to disk. Do you have any clues to make it works or it's not worth it ? Thanks in advance. Antoine
Re: SCP support on Windows | Antoine Villeret <antoine.villeret@xxxxxxxxx> |