Description
Currently URI fetcher's `fetch` method is defined like below:
process::Future<Nothing> fetch( const URI& uri, const std::string& directory, const Option<std::string>& data = None()) const;
So caller can only specify the directory that the URI will be downloaded to but not the name of the output file which has to be same with base name of the URI path. We'd better to introduce an output file name parameter so that caller can customize the output file name.
Attachments
Issue Links
- contains
-
MESOS-9714 Support specifying output file name for copy fetcher plugin
-
- Open
-
-
MESOS-9716 Support specifying output file name for Docker fetcher plugin
-
- Open
-
-
MESOS-9717 Support specifying output file name for Hadoop fetcher plugin
-
- Open
-
-
MESOS-9715 Support specifying output file name for curl fetcher plugin
-
- Resolved
-
- duplicates
-
MESOS-9720 Support specifying file name in URI fetcher fetch() interface.
-
- Resolved
-