Displaying 5 results from an estimated 5 matches for "ssh2_fxp_open".
2024 Aug 02
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
...105 I:2 F:0x000c M:40766
Uploading MRW_PM_Series_17146_PSSF_T1_HB.zip to /tempupload1/MRW_PM_Series_17146_PSSF_T1_HB.zip
debug2: sftp_upload: upload local "MRW_PM_Series_17146_PSSF_T1_HB.zip" to remote "/tempupload1/MRW_PM_Series_17146_PSSF_T1_HB.zip"
debug2: Sending SSH2_FXP_OPEN "/tempupload1/MRW_PM_Series_17146_PSSF_T1_HB.zip"
debug3: Sent dest message SSH2_FXP_OPEN I:3 P:/tempupload1/MRW_PM_Series_17146_PSSF_T1_HB.zip M:0x001a
debug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768
debug3: SSH2_FXP_STATUS 0
debug3: In write loop, ack for 5 32768 byt...
2024 Aug 01
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
On Wed, 31 Jul 2024, ilya Basin wrote:
> I've just tried that. It still fails.
>
> Is it possible to dump the decrypted sftp commands? I tried -vvv but found nothing interesting.
Try
Subsystem sftp /usr/libexec/sftp-server -l debug3
in sshd_config
> The Total Commander plugin calls:
>
> libssh2_sftp_setstat(ConnectSettings->sftpsession,
>
2003 Oct 30
2
sftp client reget reput
...(struct sftp_conn *conn, char *local_path, char *remote_path,
+ int pflag, int rflag)
+#else
do_upload(struct sftp_conn *conn, char *local_path, char *remote_path,
int pflag)
+#endif
{
int local_fd, status;
u_int handle_len, id, type;
@@ -1023,6 +1049,13 @@
buffer_put_char(&msg, SSH2_FXP_OPEN);
buffer_put_int(&msg, id);
buffer_put_cstring(&msg, remote_path);
+
+#ifdef REGET
+ if(rflag)
+ buffer_put_int(&msg, SSH2_FXF_WRITE);
+ else
+#endif
+
buffer_put_int(&msg, SSH2_FXF_WRITE|SSH2_FXF_CREAT|SSH2_FXF_TRUNC);
encode_attrib(&msg, &a);
send_msg(conn->f...
2014 Jan 24
1
Question Reagrding open SSH
...UT100000157152.INT.sch
debug3: Sent message fd 6 T:17 I:2
debug3: Received stat reply T:101 I:2
debug1: Couldn't stat remote file: No such file or directory
Uploading /cust01/dellinvs/edi_prod/push/snd/OUT100000157152.INT.sch to /home/700000035/tovan/OUT100000157152.INT.wrk
debug3: Sent message SSH2_FXP_OPEN I:3 P:/home/700000035/tovan/OUT100000157152.INT.wrk
debug3: Sent message SSH2_FXP_WRITE I:4 O:0 S:564
debug3: SSH2_FXP_STATUS 0
debug3: In write loop, ack for 4 564 bytes at 0
debug3: Sent message SSH2_FXP_CLOSE I:4
debug3: SSH2_FXP_STATUS 0
sftp> rename /home/700000035/tovan/OUT100000157152.INT...
2004 May 06
2
ID mismatch
Hi,
When do the sftp to remote server with file system full, sftp connection
get "ID mismatch"
and connection closed. Is it supposed to get the "sftp>" prompt back? I try
with V3.7.1p2 and V3.8.1p1 and have the same result.
Please help.
rdsosl.sef_cdf-831# sftp -v edosuser at rdsosl
Connecting to rdsosl...
OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading