Document flow plays an important role in building a corporate system. The fp3 format is the main document of the finished report if you use FastReport VCL in your system.
To facilitate the generation of documents of different types from the internal format without rebuilding the reports, we have expanded our client-server components, which now enable to accept the fp3 format from clients and convert it to any available export format.
This is accompanied by a caching system where the server can refuse to accept its file and work with the cache. There are also minor settings, for example, the maximum size of the received file.
In order for your server to be able to receive and process fp3 files, you need to add a couple of settings to the config (XML file with settings).
HeaderMaxSize — the maximum size of the HTTP header in bytes. The maximum value is 16384.
ContentMaxSize — the maximum size of uploaded fp3 files in megabytes (0 — no limit).
We've also updated our demo projects, which you can download here.
On a client side, we will analyze PHP script in the role of a client, but, of course, a client can be written in any programming language.
HTML form for script:
This way you can get rid of several big problems. You won’t need to rebuild reports, which reduces the load on the server. Reports can be stored in any convenient place, and the client side can be written in any programming language that is comfortable for you.