Author Topic: Folder size calculation is incorrect  (Read 2125 times)

apta

  • Jr. Member
  • **
  • Posts: 6
Folder size calculation is incorrect
« on: May 19, 2009, 09:53:25 PM »
I've noticed that the sizes of subfolders do not add up to the size of the containing folder.  I'm enclosing a screenshot.
I've verified that the subfolder sizes are correct. 

Yummy FTP (1.7.3b12) calculated the sizes with and without the LIST -R option and the results are the same.   I can attach the transcript if need be.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Folder size calculation is incorrect
« Reply #1 on: May 20, 2009, 12:54:12 AM »
Good catch! It seems the function is failing to include the size of hidden items (files/folders with names that start with a period)

I'll fix this up for the next build. Thanks for reporting it :)

apta

  • Jr. Member
  • **
  • Posts: 6
Re: Folder size calculation is incorrect
« Reply #2 on: May 24, 2009, 06:47:24 PM »
I just noticed that when downloading a folder from on FTP server, any invisible files/folders are NOT copied!  This is bad news.

Never mind; I found an option in Transfers to include invisible items in transfer.  Sorry for the false alarm. :D
« Last Edit: May 24, 2009, 08:57:15 PM by apta »

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Folder size calculation is incorrect
« Reply #3 on: May 25, 2009, 02:51:46 AM »
No problem. :)

For what it's worth, the option is disabled by default to save people unintentionally uploading OSX specific files, such as .DS_Store, .Localized, etc.