Curl remote file size




















Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses.

Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked 3. Related Hot Network Questions. Johnsyweb Johnsyweb k 23 23 gold badges silver badges bronze badges.

Ironically, the example URL you chose uses lower case header strings content-length which breaks your command. I guess that the headers changed in the four years between my answer and this comment : — Johnsyweb. Content-Length: Nice answer. Would it be possible to do it in a one-liner? Sorry, I don't know how to edit my previous comment which I posted too quickly.

The one-liner solution I just posted will work but at the expense of creating 2 extra processes. In the other hand, it should be compatible with more shells. As this will actually download the file buffer to wc. Can you propose a solution and notice me?

I will vote it up ; — fguillen. Tom Freudenberg Tom Freudenberg 1, 11 11 silver badges 27 27 bronze badges. This will show you a detailed info about the ongoing download you just need to specify an URL like below example.

Ali Ali 3 3 silver badges 7 7 bronze badges. Fthr Fthr 9 9 silver badges 10 10 bronze badges. Ortal Turgeman Ortal Turgeman 3 3 silver badges 12 12 bronze badges. This works only if we have an ssh account on the same server where the url content is hosted, which is quite a strong constraint.

The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.

Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.

Related 1. Hot Network Questions. Question feed.



0コメント

  • 1000 / 1000