Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- URL url = new URL(fileUrl);
- URLConnection conection= url.openConnection();
- conection.setDoOutput(true);
- conection.connect();
- int lenghtOfFile = conection.getContentLength();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement