EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Owner and group property of ElSftpFileAttributes are not returning inf

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#1734
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?

#1735
Posted: 11/27/2006 04:38:17
by Eugene Mayevski (EldoS Corp.)

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

Reply

Statistics

Topic viewed 2149 times

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




|

Back to top

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

Got it!