Does the filesize work if you give an exact url (http://www.site.com/files/file.pdf), or do you need to use realtive URLS (/files/file.pdf)?
I think the php filesize() method only works with relative URLs and i’ve been testing your plugin using absolute URLs. So that might be the problem?
Now i have started using relative URLs I am getting “No URL Found” error, so I guess I have setup the paths incorrectly.
currently the directory+filename is a custom field “{filedir_1}file.pdf” and outputs “/files/file.pdf”. This works fine with EE for linking to images etc, but extract_url_plus doesnt seem to like it.
I’ll experiment for a bit…
*edit*
Does this plugin require the http://domain.com to be in the file path in order to work?
I can get it working (including filesize) using
{exp:extract_url_plus show="% path % fullname % filesize"}
http://www.domain.com{custom_field}
{/exp:extract_url_plus}
but strangely having an absolute URL of http://www.domain.com/files/file.pdf doesnt return the file size?