Add support for resource uploads and downloads