In my application i like to provide file download facility. I set the file types to response.setContentType. How can I set the content types for almost all known file types? Is ...
Hi, I have downloaded a package from the apache commons website to handle FTP. I've got it working OK, but am a bit confused on when to set the file type. At the moment I am just using the default which is ftpClient.setFileType(FTP.ASCII_FILE_TYPE). How can I tell when I need to change this for a certain type of file ?