Skip to content

flbeta_function_getFileSize

Wesley de Groot edited this page May 2, 2017 · 18 revisions
            !             _          
                         (_)         
            	          _    _____ 
        	        | |  / ____|
    	            | |  | (___ 
	            _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/
                     v0.0.8 Beta

Function getFileSize

_('.wrapper').getFileSize(fileURL, onSize)



Get the filesize of a file


🕸 Web Only

This function is only for websites


Parameter list

Type @var Description Required
string fileURL file url Required
object onSize return to function Required

Example:

_.getFileSize('https://www.wdgwv.com/logo.png', function (size) {window.alert(size)})


Returns:

null




[Back to function list](https://github.com/wdg/_.js/wiki/Function%20List%20(Beta))
Clone this wiki locally