Saving file to server folder

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

Saving file to server folder

Post by pdevgw » Wed Oct 09, 2019 6:01 pm

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: 1863
Joined: Tue Mar 20, 2018 5:34 am

Re: Saving file to server folder

Post by Lech Kulikowski » Fri Oct 11, 2019 2:15 pm

Hello,

In that case, you should use Node.JS.

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

Re: Saving file to server folder

Post by pdevgw » Fri Oct 11, 2019 3:27 pm

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

Re: Saving file to server folder

Post by Andrew » Sat Oct 12, 2019 5:57 am

Hello,

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

Thank you.
Post Reply