rem: calendarPublish(calendarString, "ftp: 
add: calendarPublish(calendarString, Server, FilePath, UserName, Password, "text/calendar"); 
context: function publishCalendarData(){   var calendarString = eventArrayToICalString( gCalendarWindow.EventSelection.selectedEvents );   calendarPublish(calendarString, "ftp://home.planet.com/", "CalendarDataFile.ics", "ajb", "*****", "text/calendar");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/64a09493c8e947dea64d652a4957467b01b20c67/calendar.js/clean/calendar/resources/content/calendar.js