回复：Re: Running 'curl' with '-o' option failed with error "curl: (23) Failed writing body (0 != 720)"
Fri Jun 21 07:40:00 GMT 2019
Thanks for pointing that out.Appreciate your quick responding.
Location: Tianfu Software Park, Tianfu avenue, High Tech Zone, Chengdu, Sichuan Province, China
----- ÔÊ¼ÓÊ¼þ -----
·¢¼þÈË£ºCsaba Raduly <firstname.lastname@example.org>
ÊÕ¼þÈË£ºmahao_boy@sina.cn, cygwin list <email@example.com>
Ö÷Ìâ£ºRe: Running 'curl' with '-o' option failed with error "curl: (23) Failed writing body (0 != 720)"
On Fri, Jun 21, 2019 at 9:28 AM Ma Hao <firstname.lastname@example.org> wrote:
> I was running into the problem when I tried to download spring:
> $ curl https://codeload.github.com/spring-projects/spring-framework/zip/master -o /home/cdmahao/
You told curl to write the download to a file named /home/cdmahao/
Unfortunately, there is already a directory named /home/cdmahao/, and
curl can't write a file to a directory.
You need to give the name of a file to -o
$ curl https://codeload.github.com/spring-projects/spring-framework/zip/master
curl works differently from wget. wget invents a filename based on the
URL. curl does not do that.
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformat way
to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)
More information about the Cygwin