Is it possible to have a sort of “virtual” folder set in the upload preferences to use in the plugin syntax?
More specifically, I have a set of folders with MP3 files in them. Every year we move to using a new folder with that year label. So we have /2006, /2007 and now /2008. Is it possible to set the upload folder as the base folder that those year folders sit in and then program the back end to look deeper according to the year?
My initial syntax (that did not work) looked like this:
<a href="http://mysite.com/podcast/audio/{entry_date format="%Y/%m.%d.%y.mp3"}">Download Audio</a> » {exp:filesizer filename="{entry_date format="%Y/%m.%d.%y.mp4"}" upload_pref="7" decimals="1" zero_decimals="no"} {fs:file_extension}: {fs:file_size}{fs:size_unit} {/exp:filesizer}
The path in EE to download the file does work. But the Filesizer breaks, even though the error code shows the path perfectly. It just returns the error instead of delivering the file size.
Any ideas on whether this is possible? I am trying to avoid having a whole bunch of folders listed in the file upload preference. And to avoid a lot of conditionals in the back-end switching syntax/folders based on the year of the entry.
