Active
Project:
Disk Node
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
8 May 2007 at 06:55 UTC
Updated:
20 Jun 2008 at 11:55 UTC
I use disknode in 4.7. To update the files I tried to install an FTP-Process this process
copy the new files (only the size is changing) but after this the downloades files using the disknode-link are corrupted.
Is there no other way then updating these files manually each time they change?
Comments
Comment #1
Ectar commentedNeed more info.
Comment #2
mooffie commentedThat's because the 'Content-type' header Disknode sends reports the _old_ file size (the size recorded in the database). This happens only when using a 'private' file system.
Yes, it would be useful to change this behavior and examine the file itself for its size. Note the other Drupal modules don't do this so I don't consider the current behavior a bug. I'll work on this soon.
Comment #3
stoltoguzzi commentedI made some test, even if I select the file again sometimes it does not work, after renaming the file an selecting it again it was ok. Looks like the file size does not change if the file was allready there?
Comment #4
Ectar commentedAny news about update?
Comment #5
stoltoguzzi commentedI have a workaround, open IE delete the file.
Open Firefox add the new file.
Problem is that somewhere the information (filesize) from the old file is still there (cache) and will be used for the new file again.