Sftp_GetAttributes method - WeOnlyDo Discussion board

Sftp_GetAttributes method (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Mariana, Thursday, January 10, 2019, 11:28 (2142 days ago) @ Mariana

Hello,

I'm trying to connect an old version of an Windows 7 application, as client, with an HP UNIX server, in order to transfer files/archives from client to server, using SFTP transfer.
The SSH version from HP UX server is:
$ ssh -V
OpenSSH_7.4p1+sftpfilecontrol-v1.3-hpn14v12, OpenSSL 1.0.2k 26 Jan 2017
HP-UX Secure Shell-A.07.40.003, HP-UX Secure Shell version
$
The client application use SftpDLL64.dll, version 3.6.2.145 from 14.03.2013.
There is an error in Event Viewer, on client:
SFTP File '/raptor/SBUP/SLP/SLSM6Y.2019.01.08.09.57.09.VODU_01.SLPBUT.ZIP' Already Exists on Server. Cannot create file when it already exists.
It seems the problem comes from the method: Sftp_GetAttributes. Maybe I'm wrong.
In addition, the transfer works fine using the same client application, but with an old version of HP UNIX server.

BR,
Mariana

I also mention that the files are successfully transferred to destination (on HP UX server), but in the client application they appear not transferred (see Event Viewer error).


Complete thread: