HttpURLConnection downloaded file name

前端 未结 4 1042
栀梦
栀梦 2020-12-29 08:19

Is it possible to get the name of a file downloaded with HttpURLConnection?

URL url = new URL(\"http://somesite/getFile?id=12345\");
HttpURLConnection conn =         


        
4条回答
提交回复
热议问题