upload directories, refs #79 @2h