I found the problem.
The kbmMWServer1ServeRequest method was used for testing and log purposes, but this was causing the error mentioned, after removing the use of the method, everything worked perfectly, I will investigate how I can get around it.
I’m thinking it might be a bug with UniDac/FireBird, as I ran the same test with SQLite and everything worked correctly, I’m reviewing everything but I can’t find where it could be wrong.
But can’t this cause future problems?
I managed to solve it, following the instructions Kim gave me and following the blog
I was able to receive files via multipart form-data and via stream.
ForceDirectories(‘.\receivedfiles’);
sFileName:=’.\receivedfiles\file.png’;
RequestStream.SaveToFile(sFileName);
thank you very much
Hi Kim
I analyzed the document, I managed to make the partial operation, only the usDeletede that did not work, I could not understand at what moment I should add the index with the UpdateStatus that is mentioned in the excerpt
“You can check the state of a record by checking the UpdateStatus property. It returns the current records state.
Was it inserted (usInserted), deleted (usDeleted), modified (usModified) and unchanged (usUnmodified). I’m
actually see usDeleted marked records, it require adding and switching to a special index that allows for
showing deleted records… check the overloaded version of AddIndex which accepts providing a set of
UpdateStatus flags, for which records to include in the index.”
Where should I insert the index?
When populating the table, or when creating the table?
Thanks