rem: calendarPublish(calendarString, Server, FilePath, UserName, Password, "text/calendar"); 
add:  calendarPublish(calendarString, "http: 
context: function publishCalendarData(){   var calendarString = eventArrayToICalString( gCalendarWindow.EventSelection.selectedEvents );   calendarPublish(calendarString, Server, FilePath, UserName, Password, "text/calendar");}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/ede3be3e455c257c3f0066989dbf2653bb2c6a27/calendar.js/buggy/calendar/resources/content/calendar.js