[19:12]<midnightmonster> is there a difference between app.getAppDir and app.getDir ? [19:39]<zumbrunn> midnightmoster, I don't think there is [19:40]<zumbrunn> my guess is that app.getDir should probably be marked deprecated [19:40]<zumbrunn> and I further guess that app.getDir is old and was there first [19:41]<zumbrunn> then when app.getServerDir was added, app.getAppDir was added for clarity [19:42]<zumbrunn> really just guessing, though [19:59]<midnightmonster> any shorter way to talk about the protectedStatic dir than app.getAppsProperties().protectedStatic [19:59]<midnightmonster> ? [20:00]<zumbrunn> res.forward() ? [20:01]<midnightmonster> well, yeah... but for saving stuff there [20:01]<midnightmonster> do you know if res.forward will take an absolute path? [20:01]<midnightmonster> (provided it ends up in the protectedStatic dir) [20:02]<zumbrunn> no, don't know a shortcut [20:02]<zumbrunn> hmm, what would be the point of that? [20:02]<zumbrunn> (if it ends up in that dir anyway) [20:02]<zumbrunn> don't know though [20:03]<midnightmonster> point is so I can use this function [20:03]<midnightmonster> function getImagePath(filename){ [20:03]<midnightmonster> return app.getAppsProperties().protectedStatic + '/' + this._prototype + '_' + this._id + '_' + filename; [20:03]<midnightmonster> } [20:04]<midnightmonster> to save images uploaded and to get the path to show them via res.forward [20:06]<zumbrunn> ok [20:06]<zumbrunn> If it does take an absolute path, the docs are wrong :-) [20:07]<zumbrunn> well, not necessarily, actually [20:26]<midnightmonster> Image.saveAs seems to infer the output file type from the file extension?