search for: ssh_fx_ok

Displaying 2 results from an estimated 2 matches for "ssh_fx_ok".

Did you mean: ssh2_fx_ok
2025 May 13
1
can function sftp_upload return OK even if an error message is received?
...more SSH_FXP_WRITE messages are sent out and you start draining the queue of pending responses. Variable "len" is set to 0 either when the upload is interrupted, or when the SSH_FXP_STATUS response message carries an error, which sets variable "status" to a value different from SSH_FX_OK. Can the variable "status" be overwritten by subsequent response messages to be again SSH_FX_OK? And, if this is the case, isn't it that the "read" is again called, variable "len" is set again to a non-zero value, and thus the function can return 0 even if an erro...
2025 May 20
2
can function sftp_upload return OK even if an error message is received?
...messages are sent out and you start draining the queue > of pending responses. Variable "len" is set to 0 either when the > upload is interrupted, or when the SSH_FXP_STATUS response message > carries an error, which sets variable "status" to a value different > from SSH_FX_OK. > > Can the variable "status" be overwritten by subsequent response > messages to be again SSH_FX_OK? And, if this is the case, isn't it > that the "read" is again called, variable "len" is set again to a > non-zero value, and thus the function can...