Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Just copying the .ics files might lose data' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Just copying the .ics files might lose data
Authored by: tjp on Mar 04, '05 02:31:06AM

I have to reinforce the suggestion to use the phpicalendar publish.php method over FTP. I've done a fairly large phpicalendar implementation for a public site with calendar data managed by a number of people with varying technical skill levels. We tried a variety of methods for delivering .ics files to the webserver, including AFP mounts and FTP. We found that, over time, recent calendar data was missing from the posted calendar files. After looking more closely, I found that there are a number of cache files within the user's Library folder that are separate from the main Library/Calendars/*.ics files and show more recent modification times than the main files at times.

I never took the time to prove it for sure, but strongly suspect that issues of timing along the lines of "are the files copied while iCal is running," or perhaps simply user error poking around with the files were the cause. I shifted over to publish.php in iCalendar 1.0 and had no problems with missing data since. Who knows, this behavior could change from one rev of iCal to the next, but that's part of the point. You can be pretty sure that Apple's going to make sure the publish function within the app is going to submit all of the latest data, no matter how it's implemented.

And, if that wasn't even a concern, the interface couldn't be easier using the publishing method. Once the webdav publishing is configured, you can have the calendars automatically published on any change, any changed calendar can be published with a simple cmd-R while it's active or all calendars published with shift-cmd-R.

Works great, lasts a long time.



[ Reply to This | # ]
Just copying the .ics files might lose data
Authored by: dogboy on Mar 07, '05 04:52:02PM

Fair enough. I have moved to this now. The hint was a result of many wasted hours trying to find a way to publish my iCalendars without Webdav or .Mac.



[ Reply to This | # ]