Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...All Other Forge...All Other Forge...Filemanager large file greater than 2 GB errorFilemanager large file greater than 2 GB error
Previous
 
Next
New Post
7/31/2010 9:04 PM
 
Hi, I am currently using the File Manger module to quickly organize and distribute my files.  The problem occurs when I have a file larger than 2 GB, File manager refuses to display the large file in the module even after recursive sync.  I have investigated the problem and would like to know if my findings are correct and if it is possible to amend it to the next release of DNN.

In the database, in the table Files, the data type for the file size is int32 which is roughly 2Gig positive values.  Therefore, a file larger than 2GB will overflow the file size range.  I have also looked at the File manager source code.  In the function that adds file to the data table to be populate, the file size is also hardcoded to type int32.

I was wondering if the data type can be changed to bigint or int64  instead of int32.

Thank you.
 
New Post
8/1/2010 5:59 AM
 
are you using latest version? I remember a change from int32 to int64, but am not sure, whether it was for file size property

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/2/2010 1:08 PM
 
Hi,

I am using the latest version 5.4.4.  The first thing I did was change the data type of Size to bigint, in the db table, Files.  Afterward, I manually adding an entry for the 3GB file into the table Files.  However, when I navigate to the directory where the file is located via File Manager.  I would get an error saying the value is too small or too big for int32.  Afterward I went through the code and look at how the table Files get populated and locate where the filesize is parsed.

I wanted to make sure that there wasn't any residue from my previous modification, so I did a clean install of DNN 5.4.4 and the original table Files that gets created is type int.
 
New Post
8/2/2010 1:33 PM
 
I left out a little more information from the previous post.

DotNetNuke.Services.FileSystem  Class FileInfo has several functions that is used by Filemanager to populate the data table.  The function Size() returns type Integer.
 
New Post
8/3/2010 4:28 AM
 
please log an enhancement request at supoort.dotnetnuke.com. Thank you.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...All Other Forge...All Other Forge...Filemanager large file greater than 2 GB errorFilemanager large file greater than 2 GB error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out