title: node.js export to pdf system download folder
body: <p>I've been working with node.js,the following function working fine in export to pdf.</p>
  
  <p>but i want to this export  file  path  sytem download folder path.
    i want to like this</p>
  
  <p>for example: "c:/user/username/download"/filename.pdf";</p>
  
  <p>Please help  to how can i do it.</p>
  
  <pre><code>convertpdf :  function(req,res){
       var  wkhtmltopdf = require('wkhtmltopdf')
        var outputPDF =  "c:/temp/"+uniqueIDs+".pdf";
  
     _.map(exportDate, function(ep) {
  
          html = html + "&lt;tr&gt;&lt;td&gt;" + ep.orderno +"&lt;/td&gt;&lt;td&gt;" + ep.amount +"&lt;/td&gt;&lt;td&gt;" +ep.milestoneid +"&lt;/td&gt;&lt;td&gt;" + ep.storyid +"&lt;/td&gt;&lt;td&gt;" + ep.date +"&lt;/td&gt;&lt;td&gt;" + ep.status +"&lt;/td&gt;&lt;td&gt;" + ep.description +"&lt;/td&gt;&lt;/tr&gt;";
    });
     html = html + "&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;";
           wkhtmltopdf(html, {output: outputPDF}, function (err, result) {
               if(!err) {
                     message = "successFully exported to" + outputPDF ;
               return res.json({
                     message: message,
                      type: 'success'
              });
      }else {
             message = "unsuccessFull exported to pdf";
               return res.json({
                      message: message,
                       type: 'error'
                 });
       }  
   }); // end of wkhtmltopdf 
  </code></pre>
  
  <p>please any one help me how can i solve this issue.</p>
  
  <p>Thanks.</p>