Type « File « Java Network Q&A

Home
Java Network Q&A
1.API
2.bluetooth
3.Client
4.connection
5.Cookie
6.Development
7.Email
8.File
9.ftp
10.http
11.HttpClient
12.https
13.ip
14.Network
15.OS
16.RMI
17.Security
18.Server
19.Socket
20.tcp
21.UDP
22.url
Java Network Q&A » File » Type 

1. setting content type in java for file download    stackoverflow.com

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 ...

2. What File Type to use? - Apache commons    coderanch.com

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 ?

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.