Lines Matching refs:sftp_handle
1157 sshc->sftp_handle = in sftp_upload_init()
1163 if(!sshc->sftp_handle) { in sftp_upload_init()
1265 SFTP_SEEK(sshc->sftp_handle, data->state.resume_from); in sftp_upload_init()
1566 SFTP_SEEK(sshc->sftp_handle, from); in sftp_download_stat()
1599 SFTP_SEEK(sshc->sftp_handle, data->state.resume_from); in sftp_download_stat()
1630 int rc = libssh2_sftp_readdir_ex(sshc->sftp_handle, in sftp_readdir()
2465 sshc->sftp_handle = in ssh_statemachine()
2469 if(!sshc->sftp_handle) { in ssh_statemachine()
2539 if(libssh2_sftp_closedir(sshc->sftp_handle) == in ssh_statemachine()
2544 sshc->sftp_handle = NULL; in ssh_statemachine()
2555 sshc->sftp_handle = in ssh_statemachine()
2560 if(!sshc->sftp_handle) { in ssh_statemachine()
2588 if(sshc->sftp_handle) { in ssh_statemachine()
2589 rc = libssh2_sftp_close(sshc->sftp_handle); in ssh_statemachine()
2599 sshc->sftp_handle = NULL; in ssh_statemachine()
2625 if(sshc->sftp_handle) { in ssh_statemachine()
2626 rc = libssh2_sftp_close(sshc->sftp_handle); in ssh_statemachine()
2636 sshc->sftp_handle = NULL; in ssh_statemachine()
2970 DEBUGASSERT(sshc->sftp_handle == NULL); in ssh_statemachine()
3651 nwrite = libssh2_sftp_write(sshc->sftp_handle, mem, len); in sftp_send()
3679 nread = libssh2_sftp_read(sshc->sftp_handle, mem, len); in sftp_recv()