Code Monkey home page Code Monkey logo

Comments (4)

cvasseng avatar cvasseng commented on June 7, 2024

Are you trying to produce files in the server filesystem? E.g. posting to the server, and then have the server produce the files on its local filesystem for later retrieval?

from node-export-server.

omkar1707 avatar omkar1707 commented on June 7, 2024

Yes..Right. I want to save file on the server.

from node-export-server.

cvasseng avatar cvasseng commented on June 7, 2024

The HTTP server is made to do the opposite, that is, saving the charts on the client rather than the server. I'd recommend using the export server as a node module and writing your own batch setup if the CLI option isn't sufficient for your use case.

That said, you could exploit the temporary saving mechanism to have it store things on the server but the temporary files are purged after 15 minutes. The path can be set using the --tmpdir option when you start the server. Then, if you use async:true in your post body, the charts will be saved in the folder specified - but only for 15 minutes; and you won't have any control over their filename.

from node-export-server.

larsac07 avatar larsac07 commented on June 7, 2024

Closing this as it was answered

from node-export-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.