Answers.Body: <p>The only thing Craft enforces is the <a href="http://buildwithcraft.com/docs/config-settings#maxUploadFileSize" rel="noreferrer">maxUploadFileSize</a> config setting, which by default is set to 16MB.  Outside of that, any limitations you run into will be environmental/server config related.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-22T19:48:08.560Z
Answers.LastActivityDate: 2015-01-22T19:48:08.560Z
Answers.UserDisplayName: Brad Bell
Body: <p>A client we're working with has a requirement to upload one large file (about 320MB) every 2–3 months. Craft has been configured with a local asset source to handle this.</p>
  
  <p>I'm trying to decide the best way to approach this: whether we upload this large file via SFTP for them when required, or if the client can do this through Craft in their own time.</p>
  
  <p><a href="https://craftcms.stackexchange.com/questions/492/when-uploading-assets-what-determines-the-maximum-file-size/">This previous question</a> provides some good pointers. I've increased the necessary settings, however when attempting to upload a test file (315MB), Craft displays an alert ‘The file “testfile.zip” could not be uploaded, because it exceeds the maximum upload size of 128.0 MB.’</p>
  
  <p>I haven't seen any filesize limits of 128MB, so is this value hardwired into the file upload logic? To confirm that the changed settings do work, a test file of 100MB was uploaded fine.</p>
  
Tags: <assets><upload><files>
Title: Does Craft enforce a maximum filesize for large files?
ThreadText: # Does Craft enforce a maximum filesize for large files?
  
  (Asked by: username_0 on 2015-01-22)
  
  A client we're working with has a requirement to upload one large file (about 320MB) every 2–3 months. Craft has been configured with a local asset source to handle this.
  
  I'm trying to decide the best way to approach this: whether we upload this large file via SFTP for them when required, or if the client can do this through Craft in their own time.
  
  [This previous question](https://craftcms.stackexchange.com/questions/492/when-uploading-assets-what-determines-the-maximum-file-size/) provides some good pointers. I've increased the necessary settings, however when attempting to upload a test file (315MB), Craft displays an alert ‘The file “testfile.zip” could not be uploaded, because it exceeds the maximum upload size of 128.0 MB.’
  
  I haven't seen any filesize limits of 128MB, so is this value hardwired into the file upload logic? To confirm that the changed settings do work, a test file of 100MB was uploaded fine.
  
  **Tags:** assets, upload, files
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-01-22. Score: 7 | Accepted answer
  
  The only thing Craft enforces is the [maxUploadFileSize](http://buildwithcraft.com/docs/config-settings#maxUploadFileSize) config setting, which by default is set to 16MB. Outside of that, any limitations you run into will be environmental/server config related.
  
  
  ---
  
  