* Upload resource.