Hi to all,
thank's to Pieter for his repply now there's a way to cancel an upload.
When i cancel the request how is possible to delete (remove) that item?
I mean, with
TTMSFNCCloudStorageServices.Upload(TheFolfder, TheFile)
where
TheFolder: TTMSFNCCloudItem;
TheFile: String;
i can upload a file, with this i can cancel
uses
FMX.TMSFNCCloudBase;
procedure TForm1.CancelRunningRequests;
var
I: Integer;
r: TTMSFNCCloudBaseRequest;
rr: TTMSFNCCloudBaseRequestResult;
begin
for I := 0 to TMSFNCCloudStorageServices1.Storage.RunningRequests.Count - 1 do
begin
r := TMSFNCCloudStorageServices1.Storage.RunningRequests[I];
if r is TTMSFNCCloudBaseRequestResult then
begin
rr := (r as TTMSFNCCloudBaseRequestResult);
rr.Cancel;
end;
end;
end;
but i can cancel the opration but how i can do to remove the file from the list ?
In other word how to clear from anythings TTMSFNCCloudStorageServices.Storage and have the
component clear as it is when the form is open.
Excuse me if i'm not so clear ......
Thank's for reply
Regards
Daniele