added zlib to submodules. Added build and link zlib, libssh in CMakeLists.txt
This commit is contained in:
parent
a87610c856
commit
3742583508
5 changed files with 15 additions and 5 deletions
|
@ -410,7 +410,7 @@ ErrorCode ServerController::copyFileToRemoteHost(ssh_session& ssh, sftp_session&
|
|||
char buffer[SFTP_TRANSFER_CHUNK_SIZE];
|
||||
int length {sizeof (buffer)};
|
||||
|
||||
file = sftp_open(sftp, remote_path.c_str(), access_type, S_IRWXU);
|
||||
file = sftp_open(sftp, remote_path.c_str(), access_type, 0);//S_IRWXU);
|
||||
|
||||
if (file == NULL) {
|
||||
return ErrorCode::SshSftpError;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue