EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Can't List GoogleDrive Folder after have trashed a file.

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
Posted: 08/10/2016 08:40:06
by Alexander Ionov (EldoS Corp.)

claude ostfeld wrote:
I think I will insert the statement in the SBB TElGoogleDriveDataStorage.Filetrash and TElGoogleDriveDataStorage.FileUntrash source itself in a try finally construct.

If you have the sources, it's better to clean up the specified property in the PerformPost and PerformPut methods. Find the following code there:
    Result := FHttpClient.Put(Url, EmptyArray());
    FHttpClient.RequestParameters.IfMatch := ETag;

and change the 'finally' clause as the following:
FHttpClient.RequestParameters.IfMatch := EmptyString;

Then rebuild the CloudBlackbox package and your application. This should solve the problem.

Best regards,
Alexander Ionov



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