I took a look at the File Manager screen you sent me, and that looks like the expected behavior to me. From what I’m seeing, there are different timestamps for different groups of files all within the same Upload Directory. Correct me if I’m wrong, but is the behavior you’re experiencing described like this?
- When you add 5 new images to the actual FTP directory (in other words, you don’t upload them through EE), and then sync them, those 5 files are given the same timestamp, which is the time of the sync itself.
- The other images in that same upload directory that were already listed in File Manager maintain their timestamp, which was given to them either when they were uploaded through EE or synced.
Correct? In other words, new files being synced are given the timestamp of the sync, but files that already exist in the File Manager are left alone. If so, that’s the expected behavior.
Sorry, Kevin, I’m lost.
Expected behavior is that the sync should take the time date stamp of the file and use that. In this case, all the files were added via EE, not via FTP, and uploaded through EE over the course of six or seven years.
So, what you’re saying is that files already added to EE’s uploads over the years, when synced, get the sync time date stamp, and not the image files original upload time date stamp.
If so, that’s rather goofy behavior, and seems to render the File Manager almost useless for those previously uploaded images.
I think we’re seeing different things here. Here’s what I’m seeing from the zip file you sent me: I’m seeing a bunch of different files in the same upload directory with a variety of different timestamps. From that, I gather than syncing that directory doesn’t cause all files in that directory to reflect the same timestamp (that is, the timestamp of the sync). It appears that syncing only applies a current timestamp to the files that are new and therefore being added to the EE file manager.
Now, somewhere down the list of files, they all begin having the same timestamp: 2011-07-26 07:25 PM
I suspect those files are the ones you’re referring to, correct? I’m guessing those files were added to EE before the upgrade to 2.2 (in other words, before the new File Manager was introduced), correct? If that’s the case, they were all assigned that same timestamp when their file information was added to the DB. Before 2.2, file information was not stored in the DB, but was gathered from the filesystem itself. When you add new files using the EE File Manager—and by that I mean add files to the EE database through the new File Manager—it’s done by syncing those files. If a file doesn’t already have an existing record in the EE database, syncing that file will add it and give it the timestamp of ‘now’. That’s why the files uploaded to EE before 2.2 all have the same timestamp. They were, essentially, all added to EE’s File Manager database at the same time. Does that make sense?
Moving forward, uploading files and syncing them will only apply a timestamp of ‘now’ to new files being added, so you don’t have to worry that this is something that will happen again in the future.
Now regarding the issue that required you to set the image height, in order to test that, I need some sample images that you tried to upload that required you to set “height” explicitly before they could be successfully uploaded. Could you please zip those up and send them to me?
None of my EE sites, prior to upgrading to EE 2.2.1 had an image height set in preferences. When doing the sync in File Manager, the sync failed because of the aforementioned error. When adding a height limit, the sync worked OK. The images I sent you were part of that group that failed.
You didn’t send me images to test with earlier. You sent me Safari Web Archives of the EE File Manager and the web-based file manager for your server’s file system. I cannot retrieve images from either. Could you please zip up some of the files that are causing you trouble in order for me to troubleshoot the height requirement issue you’re having?