Hi all,
I would like to synchronize some files between the cloud and the computer app. it could be done with .download and upload but how can i browse directories to find the files i want to synchronize ?
TIA
Hi,
For each service that inherits from TTMSFMXCloudStorage, you can retrieve the folders and files with the GetDriveInfo call.
Then the files and folders are accessible by accessing the Drive property.
Kind Regards,
Pieter
Ok thanks
What's do ClearTokens property ?
( i search on this forum but no reponse )
Is there any documentation about TTMSFMXCloudStorage ?
Hi,
Kind Regards,
Pieter
i don't how to browse all directories and files with Drive property, i see it's a TCollection but i don't how to use it.
how can i reach the child directories ?
Thanks for your help.
Hi,
The folders and files can be retrieved with the same code as demonstrated in the FillTreeView procedure in the FMX.TMSCloudBase file
Kind Regards,
Pieter
Thanks,
I found that we need to use Folder property which return TTMSFMXCloudItems
And what about the directory separator char of the TDropBoxItem.FullPath, how can we know which one is used ? i suppose it's depend of the cloud ( dropbox, gdrive, etc ) or it's depend of the target platform ? ( i tried TPath.DirectorySeparatorChar but it's not ok )
Is there something to read it ?
TIA
Anybody can answer my question?
Please use : /