saucerest-java icon indicating copy to clipboard operation
saucerest-java copied to clipboard

Return the java.io.File handle from downloadVideo and downloadFile methods

Open binil opened this issue 12 years ago • 2 comments

This will make the API easier to use when a report with the file's location needs to be created.

binil avatar Mar 25 '13 03:03 binil

Closing this as it's several years out of date.

If anyone wishes to re-open, can you provide some more details? The downloadX methods take a filepath as a String, which I imagine fulfils the requirement. What's the benefit of returning a File handle?

DylanLacey avatar May 17 '18 05:05 DylanLacey

Reopening; Upon reading the code for this, it seems reasonable. The asset is only assigned a location, not a filename, and the filename can vary.

DylanLacey avatar May 18 '18 03:05 DylanLacey

Closing as not applicable anymore.

sceiler avatar Apr 28 '23 16:04 sceiler