I just noticed I didn't quite answer your question. To get the full path for an *album*, use this:
Code:int albumId = 32;
IAlbum album = Factory.LoadAlbumInstance(albumId);
string directoryPath = album.FullPhysicalPath;
Or, if you have a reference to a media object, you can get it this way:
Code:string directoryPath = ((IAlbum)mediaObject.Parent).FullPhysicalPath;
Note that FullPhysicalPath is read-only. To move an album to another directory, you assign it a new parent rather than update this path. You can look in the code-behind in transferobject.aspx to see how the web page does it.
Roger
Roger Martin
Creator and Lead Developer of Gallery Server Pro