EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Owner and group property of ElSftpFileAttributes are not returning inf

Posted: 11/27/2006 04:22:29
by Babak Maraghechi (Priority Standard support level)
Joined: 07/04/2006
Posts: 7

In the ActiveX SftpBlackbox sample using ElSimpleSftpClient, the owner and group property of ElSftpFileAttributes are not returning information.
Debugging the code:
// owner
hr = attrs->get_Owner(&owner);
shows owner always as NULL, group likewise.
How can I obtain group and owner of a remote file?

Posted: 11/27/2006 04:38:17
by Eugene Mayevski (Team)

1) what server do you use? Obviously, this information is only available on Unix servers.
2) Some attributes are not supported by SFTP version 3 and earlier. If the client connects using SFTP 3, you need to use UID and GID properties instead of Owner and Group (and specify/check them in the IncludedAttributes accordingly).

Sincerely yours
Eugene Mayevski



Topic viewed 2412 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!