apache / airavata-mft

Apache Airavata Managed File Transfer Services
https://airavata.apache.org
Apache License 2.0
32 stars 39 forks source link

Allow downloading a path within a resource #38

Closed machristie closed 3 years ago

machristie commented 3 years ago

Similar to how getFileResourceMetadata can be called with a childPath parameter, there should be a way to specify a path when making a http download request.

machristie commented 3 years ago

Hi @DImuthuUpe , I realized there wasn't an issue for this so I created one.

DImuthuUpe commented 3 years ago

@machristie this should be fixed in https://github.com/apache/airavata-mft/commit/7c866be0a23ad49ae629d93916177a050080b9b4. There is a childResourePath field in the download api and put the relative path of the child resource or keep an empty string if you don't use that field.