cli icon indicating copy to clipboard operation
cli copied to clipboard

FR: Support using directory for "--output"

Open mike-pt opened this issue 5 years ago • 1 comments

This would be useful when used with download mode and continue.

Since continue forces us to pass the output file it means the file name would need to be static, but in some cases (Scripts) we might need to still get the file name from the server (or guess it) and continue if a partial file already exists.

In cases where the server provided Content-Disposition what I do now is get that then use it for the "-o" filename, but when this is not an option things get more complicated so having this would help.

mike-pt avatar Jul 10 '19 14:07 mike-pt

Hey, I'd give this a shot.

akshgpt7 avatar Nov 08 '20 22:11 akshgpt7