Saving file to server folder

Stimulsoft Reports.PHP discussion
Post Reply
pdevgw
Posts: 4
Joined: Wed Oct 09, 2019 5:28 pm

Saving file to server folder

Post by pdevgw »

Hi,
My colleague and I are trying out the reports.php and running into a few problems.
Our goal is to generate and export a PDF using a cronjob/php script from the command line. We are currently attempting to use "https://www.stimulsoft.com/en/samples/p ... the-server" and apply it to the included render.php script. As that script works fine on its own it just creates a pop up if used in a browser. Is there a way to render, export and save that file as a PDF locally on the server using the command line without any additional input to complete the process? Thanks
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Saving file to server folder

Post by Lech Kulikowski »

Hello,

In that case, you should use Node.JS.

Thank you.
pdevgw
Posts: 4
Joined: Wed Oct 09, 2019 5:28 pm

Re: Saving file to server folder

Post by pdevgw »

Ok, do you have any or have seen any examples of how to integrate Node.JS into your system?
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Saving file to server folder

Post by Andrew »

Hello,

Please find the node.js samples at https://github.com/stimulsoft/Samples-JS

Thank you.
Post Reply