Lines Matching refs:sftperr
1164 unsigned long sftperr; in sftp_upload_init() local
1175 sftperr = libssh2_sftp_last_error(sshc->sftp_session); in sftp_upload_init()
1177 sftperr = LIBSSH2_FX_OK; /* not an sftp error at all */ in sftp_upload_init()
1181 sshc->actualcode = sftperr != LIBSSH2_FX_OK ? in sftp_upload_init()
1182 sftp_libssh2_error_to_CURLE(sftperr) : CURLE_SSH; in sftp_upload_init()
1184 sftp_libssh2_strerror(sftperr)); in sftp_upload_init()
1187 if(((sftperr == LIBSSH2_FX_NO_SUCH_FILE) || in sftp_upload_init()
1188 (sftperr == LIBSSH2_FX_FAILURE) || in sftp_upload_init()
1189 (sftperr == LIBSSH2_FX_NO_SUCH_PATH)) && in sftp_upload_init()
1198 sshc->actualcode = sftperr != LIBSSH2_FX_OK ? in sftp_upload_init()
1199 sftp_libssh2_error_to_CURLE(sftperr) : CURLE_SSH; in sftp_upload_init()
1205 sftperr = LIBSSH2_FX_OK; in sftp_upload_init()
1208 sftperr != LIBSSH2_FX_OK ? in sftp_upload_init()
1209 sftp_libssh2_strerror(sftperr) : "ssh error", in sftp_upload_init()
1210 sftperr, rc); in sftp_upload_init()
1422 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in sftp_quote_stat() local
1424 sftp_libssh2_strerror(sftperr)); in sftp_quote_stat()
1675 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in sftp_readdir() local
1676 result = sftp_libssh2_error_to_CURLE(sftperr); in sftp_readdir()
1679 sftp_libssh2_strerror(sftperr), in sftp_readdir()
2070 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine() local
2071 if(sftperr) in ssh_statemachine()
2072 result = sftp_libssh2_error_to_CURLE(sftperr); in ssh_statemachine()
2079 sftperr, (int)result)); in ssh_statemachine()
2170 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine() local
2174 sftp_libssh2_strerror(sftperr)); in ssh_statemachine()
2193 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine() local
2197 sftp_libssh2_strerror(sftperr)); in ssh_statemachine()
2214 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine() local
2217 sftp_libssh2_strerror(sftperr)); in ssh_statemachine()
2239 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine() local
2243 sftp_libssh2_strerror(sftperr)); in ssh_statemachine()
2259 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine() local
2262 sftp_libssh2_strerror(sftperr)); in ssh_statemachine()
2278 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine() local
2280 failf(data, "rm command failed: %s", sftp_libssh2_strerror(sftperr)); in ssh_statemachine()
2301 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine() local
2304 sftp_libssh2_strerror(sftperr)); in ssh_statemachine()
2440 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine() local
2441 if((sftperr != LIBSSH2_FX_FILE_ALREADY_EXISTS) && in ssh_statemachine()
2442 (sftperr != LIBSSH2_FX_FAILURE) && in ssh_statemachine()
2443 (sftperr != LIBSSH2_FX_PERMISSION_DENIED)) { in ssh_statemachine()
2444 result = sftp_libssh2_error_to_CURLE(sftperr); in ssh_statemachine()
2470 unsigned long sftperr; in ssh_statemachine() local
2476 sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2478 sftp_libssh2_strerror(sftperr)); in ssh_statemachine()
2480 result = sftp_libssh2_error_to_CURLE(sftperr); in ssh_statemachine()
2561 unsigned long sftperr; in ssh_statemachine() local
2567 sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2569 sftp_libssh2_strerror(sftperr)); in ssh_statemachine()
2571 result = sftp_libssh2_error_to_CURLE(sftperr); in ssh_statemachine()