File Transfer Sender Subdirectories plugin for Adium

Written . Tagged Adium, Cocoa, OS X.

In my Windows days, I used Miranda for IM. On OS X, I use Adium.

Miranda allows you to specify per-user directories for incoming file transfers. So you might end up with Incoming/IM/John Doe/female_deer.jpg and Incoming/IM/Foo Barr/baz.pdf. Adium, on the other hand, will put everything in a single download directory. I don’t like this; I want what Miranda does.

I’ve asked about this feature on #adium@Freenode but was told, or got the impression, that the developers do not want this and aren’t likely to add it. So I wrote a plugin.

Download the plugin: File Transfer Sender Subdirectories (SVN source).

To install, double-click the unzipped plugin or drag it to the Adium dock icon.

Note that the plugin has only been tested with MSN (single file) transfers since those are the only file transfers that ever work for me in Adium (with or without this plugin). Please let me know if it works or not with other protocols and multiple files so that I can remove this notice.

If your Adium is configured to automatically accept files, things should Just Work. If you’re prompted for the download directory, going with the default directory (the “Save files to” directory in the File Transfer settings) will cause the file(s) to go into a sender subdirectory. If any directory other than the default directory is selected, the file(s) will go where specified and not into a subdirectory.

The plugin is clever enough to re-use the same subdirectory for a user even if their display name changes. It will be re-used even if the folder itself is renamed, as long as the folder name is either the same as the user ID (ICQ UIN, MSN e-mail address etc) or ends with the user ID in parentheses and preceded by a space, like “Renamed Friend (user.id@hotmail.com)”.