Get file size from URL


#1

How i can get file size in bytes using the file URL ?, I have tried native file plugin but without any luck, I tried getFile method but the returned file entry object does not inform the file size.


#2

I do not fully understand the problem, where is this file ? On a server ? -> just use http “HEAD” method
Or is the size in the same object where there is the URL ?


#3