Hello All, I have the following code. It is currently prompting the user to "save or open the vcs file". Instead...is there a way to have the vcs file get saved to the web server instead of to the user? My code: if request.post? cal = Icalendar::Calendar.new cal.custom_property("METHOD","PUBLISH") event = Icalendar::Event.new event.dtstart = @trackhome.schedule_date event.dtend = @trackhome.pour_date event.summary = @trackhome.company event.description = ''Meet with client'' event.klass = "PUBLIC" #event.transp = "TRANSPARENT" event.location = "Manhattan Office" #event.priority = 5 cal.add_event(event) send_data(cal.to_ical, :type => ''text/calendar'', :disposition => ''inline; filename=generaljob.vcs'', :filename=>''generaljob.vcs'') Thank You, Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/icalendar-devel/attachments/20070625/db22f6ba/attachment.html
Hello All, I have the following code. It is currently prompting the user to "save or open the vcs file". Instead...is there a way to have the vcs file get saved to the web server instead of to the user? My code: if request.post? cal = Icalendar::Calendar.new cal.custom_property("METHOD","PUBLISH") event = Icalendar::Event.new event.dtstart = @trackhome.schedule_date event.dtend = @trackhome.pour_date event.summary = @trackhome.company event.description = ''Meet with client'' event.klass = "PUBLIC" #event.transp = "TRANSPARENT" event.location = "Manhattan Office" #event.priority = 5 cal.add_event(event) send_data(cal.to_ical, :type => ''text/calendar'', :disposition => ''inline; filename=generaljob.vcs'', :filename=>''generaljob.vcs'') Thank You, Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/icalendar-devel/attachments/20070625/4d0d75bf/attachment-0001.html