title: Parse Server file size limit 20MB
body: <p>Does anyone know how to change the file size limit for parse server?  at the moment i can properly download and upload files unto 20MB but i need to go a bit larger.  </p>
  
  <p>There is link on GitHub</p>
  
  <p><a href="https://github.com/ParsePlatform/parse-server/blob/master/src/Routers/FilesRouter.js#L21" rel="nofollow noreferrer">https://github.com/ParsePlatform/parse-server/blob/master/src/Routers/FilesRouter.js#L21</a></p>
  
  <p>but i can not figure out how to change this in the server end.  explored every part of the project through SSH and can not see a fielsrouter.js</p>
  
  <p><strong>EDIT:</strong> the server.js file now contains the variable maxUploadSize</p>
  
  <pre><code>var express = require('express');
  var ParseServer = require('parse-server').ParseServer;
  var app = express();
  // Specify the connection string for your mongodb database
  // and the location to your Parse cloud code
  var api = new ParseServer({
      databaseURI: "XXXXX",
      cloud: "XXXXX",
      appId: “XXXXX”,
      masterKey: “XXXXX”,
      fileKey: “XXXXX”,
      serverURL: ‘XXXXX’,
      maxUploadSize: = '50mb'
  });
  // Serve the Parse API on the /parse URL prefix
  app.use('/parse', api);
  
  var port = 1337;
  app.listen(port, function() {
      console.log('parse-server running on port ' + port);
  });
  
  //Parse Dashboard
  var ParseDashboard = require('parse-dashboard');
  var dashboard = new ParseDashboard({
      apps: [
          {
              appName: “XXXXX”,
              appId: “XXXXX”,
              masterKey: “XXXXX”,
              fileKey: “XXXXX”,
              production: true,
              serverURL: ‘XXXXX’,
             // maxUploadSize: = '50mb'
          }
      ]
  });
  
  var allowInsecureHTTP = true;
  
  // Serve the Parse Dashboard on the /parsedashboard URL prefix
  app.use('/', dashboard);
  
  var portdash = 4040;
  app.listen(portdash, function() {
      console.log('parse-dashboard running on port ' + portdash);
  });
  </code></pre>