I would like to enhance libssh to allow SCP transfer of files with sizes that won't fit into 32 bits.
Here's what I propose to do: Change ssh_scp_request_get_size() to return a 64-bit type rather than size_t, which is 32 bits on some systems. Either change ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms) so that the third parameter is a 64-bit type (compilers should promote existing calls with 32-bit size to 64-bit size) or, less preferably, introduce ssh_scp_push_file64 which takes a 64-bit size. Do you have any feedback on this? Thanks. Mark R
