File sharing uploads

An audio community like no other.

Moderators: rick, Mark Bassett

File sharing uploads

Postby Ben M » Thu Feb 26, 2015 8:05 am

Hey crew

I do a fair amount of file uploads to either Dropbox or Hightail.
Lately I've noticed if I upload the same file to both file sharing sites they read the files as different sizes.

Eg. I'm uploading a 156Mb file to hightail now but if I place the same file into Dropbox it see's it as a 152.74 Mb file.

Does anyone have an explanation why?

Thanks in advance.
User avatar
Ben M
Valued Contributor
Valued Contributor
 
Posts: 1920
Joined: Fri Jul 04, 2008 11:54 am
Location: Sydney and Kangaroo Valley, NSW

Re: File sharing uploads

Postby Drumstruck » Thu Feb 26, 2015 9:26 am

Dropbox compression algorhythm?
Ian Dare
Drumstruck
Valued Contributor
Valued Contributor
 
Posts: 1589
Joined: Fri Sep 17, 2010 12:37 pm
Location: NSW South Coast

Re: File sharing uploads

Postby Ben M » Thu Feb 26, 2015 9:56 am

right...well.... that ends my use of dropbox.
3-4 Mb difference is nasty.
User avatar
Ben M
Valued Contributor
Valued Contributor
 
Posts: 1920
Joined: Fri Jul 04, 2008 11:54 am
Location: Sydney and Kangaroo Valley, NSW

Re: File sharing uploads

Postby Paul Maybury » Thu Feb 26, 2015 12:50 pm

Dropbox uses a compression algorithm?
Paul Maybury
Frequent Contributor
Frequent Contributor
 
Posts: 705
Joined: Tue Nov 17, 2009 3:07 pm
Location: Melbourne

Re: File sharing uploads

Postby lonearranger » Thu Feb 26, 2015 12:56 pm

Ben,

Think you will find its the difference in how 1meg is calculated. Some people take it as 1million bytes, whereas others will use a binary MB which is 1024 x 1000. There is also a convention of using 1024 x 1024 as a MB. In windows a file will show as 43.8Mb (45936724bytes) when you view properties, and in explorer is appears as 44,861Kb.

Pretty sure this is the case with what you are seeing in dropbox. If you download your file from dropbox, via browser to different location, does it show as the same size? If you run diff(on osx shell) or FC/b (windows/cmd) this will do a byte by byte comparison.

If dropbox were destructively compressing files there would be masses of issues, especially with binary files like zip files which contain checksums to ensure they stay intact.

Applying this to your 156MB/152.74MB example file I would suggest your original file size is 156.4Mb.

We use dropbox extensively for graphics and audio with no issues.

Cheers
Michael Luchich
Alternation.com.au
Walcha NSW
lonearranger
Registered User
Registered User
 
Posts: 217
Joined: Sat Mar 01, 2008 11:13 am
Location: Walcha NSW

Re: File sharing uploads

Postby Ben M » Thu Feb 26, 2015 1:50 pm

Thank you Michael.
That 156.41 Mb was spot on.
Thanks for the explanation.
User avatar
Ben M
Valued Contributor
Valued Contributor
 
Posts: 1920
Joined: Fri Jul 04, 2008 11:54 am
Location: Sydney and Kangaroo Valley, NSW

Re: File sharing uploads

Postby Chris H » Thu Feb 26, 2015 2:08 pm

Also,you can do a null test to check if uploading to Drop Box is causing any change to your original file. Always handy for peace of mind.
Chris Hallam.
https://soundcloud.com/hallamsound
Whatever floats your boat.
User avatar
Chris H
Forum Veteran
Forum Veteran
 
Posts: 2321
Joined: Mon May 09, 2005 11:20 am
Location: Off The Planet

Re: File sharing uploads

Postby Kurt » Fri Feb 27, 2015 6:37 am

If you are concerned about file integrity, zip wav files before uploading them. As mentioned earlier, zip files contain information to ensure they are perfect, wav files don't.

Or, get a freeware checksum calculator and upload the file with it's checksum, that way it can be tested when downloaded to ensure it is a perfect copy.
Kurt Neist
Chief cook and bottle washer - Metalworx
User avatar
Kurt
Valued Contributor
Valued Contributor
 
Posts: 1235
Joined: Sat May 07, 2005 1:02 am
Location: Canberra


Return to The Turtlerock Forum

Who is online

Users browsing this forum: No registered users and 18 guests