A few days ago, I happened to find an old post on Movable Type.org.
It seemed he was looking for an way to specify upload directories with each assets type.
I could recommend the plugin "UploadDir" if I found it in Dec,2009.
The "UploadDir", developed by Motokazu Sekine, known as "CHEEBOW" in Japan, can specify upload directories with each asset types.
This plugin is provided by M-Logic, Inc.
When you install the plugin, you can set upload directories with each type of asset files.
Within this plugin's configuration window, you can indicate each asset type's file extensions and the directories with each.
After that it enables you to set upload directory automatically when you try to upload asset files with MT's default asset upload interface.
audio:mp3,wma,m4a,midi,wav,
videos:mp4,m4v,mpeg,avi,mov,
images:bmp,jpg,jpeg,gif,tif,
text:txt
docs:pdf,doc,xls,ppt
src:pl,c,cc,pas,rb
archive:bz2,cab,gz,jar,lzh,
...is a list of directories and the file types that go into them. So if you want your uploaded images to go into a directory called "my_photos", you'd just change the one line from this:
images:bmp,jpg,jpeg,gif,tif,
to this:
my_photos:bmp,jpg,jpeg,gif,
When you select a file for uploading in the uploader dialog it will autofill the directory in the form field.
According to the document, it can be used both MT4 and MT5. You can find the download link in the plugin page, which have "zip" or "tar.gz" characters in line.

Leave a comment