url = new URL( "http://hoge.hoge.hoge/download.zip"));
     URLConnection urlConnection = url.openConnection();
     urlConnection.connect();
     long fileSize = urlConnection.getContentLength();

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

© 2024 Falco Tech Blog Suffusion theme by Sayontan Sinha