Peter Mertens wrote: > I searched in the base servlet code and the mev code, but i can't find > how they manage the download. > > Could you provide more info?
http://base.thep.lu.se/browser/trunk/src/clients/web/net/sf/basedb/clients/web/servlet/Download.java Line 89-123: Parse the request URL to find the session ID and the file path Line 125-147: Get the SessionControl and make sure that the user is logged in Line 148-156: Get the File object and find out the MIME type Line 157-159: Set response headers with MIME type, file name and file size Line 160-165: Send the file /Nicklas ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ basedb-devel mailing list basedb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basedb-devel