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: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9d7c4006e5e40e63c3371a76d7b690a76957558e/calendar.js/clean/calendar/resources/content/calendar.js