I am new to Java.. I was trying to get the file size from a URL but I failed can any one help me how to get the URL size in bytes?
Use the getContentLength method of the URLConnection which is obtained from URL#openConnection
getContentLength
URLConnection
URL#openConnection