Greetings to all of you.
I am having trouble moving a txt file, after read , from one folder to another.
How can i move this file from the main folder to Errors or Achive one?Note : Those folders are subfolders basically of another folder.
I tried the code below but without any luck. Do i use optionalparameters correct?
Clear(Instr);
ABSBlobClient.GetBlobAsStream(ContainerContect./Full Name/, Instr); // So now its inside the instr
if ErrorFile = false then begin
OptionalParameters.Prefix('Archive');
ABSBlobClient.PutBlobBlockBlobStream(ContainerContect./Full Name/, Instr, OptionalParameters);
end else begin
OptionalParameters.Prefix('ReceiptAnnouncementACK/Errors');
ABSBlobClient.PutBlobBlockBlobStream(ContainerContect./Full Name/, Instr, OptionalParameters);
end;