EldoS | Feel safer!

Software components for data protection, secure storage and transfer

how to use RequestAttributes in MFC wrapper

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
Posted: 08/25/2009 13:56:00
by larry  (Basic support level)
Joined: 08/25/2009
Posts: 3

how to use CElSimpleSftpClientX::RequestAttributes in MFC wrapper?

when create the instance of IElSftpFileAttributes,
it failed because "pure virtual function was not defined"
Posted: 08/26/2009 01:53:54
by Ken Ivanov (EldoS Corp.)

The attributes object is created inside the RequestAttributes() call and returned back to user, i.e. you do not have to create it yourself. Simply pass an empty interface variable that will accept the IElSftpFileAttributesX interface to the RequestAttributes() method.
Posted: 08/27/2009 12:23:28
by larry  (Basic support level)
Joined: 08/25/2009
Posts: 3


But after calling RequestAttributes ,
then OpenFile call failed.

if I remove the RequestAttributes , OpenFile is OK, what's reason?
Posted: 08/27/2009 14:25:41
by Ken Ivanov (EldoS Corp.)

Please be more specific when describing the issue. What exactly do you mean by saying that OpenFile "fails"? Is some error returned via the OnError event? Are attributes returned correctly by the server?



Topic viewed 1733 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!