views:

115

answers:

3

When I carried out a fetch command, the following messages were output.

"size of remote file is not known"

Will this be an error? Will it be what or the thing which disappears if I appoint an option? Or will it be all right even if I do not mind it?

If there is a detailed person, please teach it

A: 

This is the Freebsd fetch command, right?

That is not an error, just a warning. I don't think there's an option to suppress that warning, though.

Stobor
A: 

Here is the way in UNIX //File size of Google Image echo "Weberdev Logo Size : " . getRemoteFileSize'http://www.weberdev.com/images/BlueLogo150x45.gif');

Sachin Chourasiya
Your answer is fairly nonsensical, I assume it was eaten on submission, right?
Hasturkun
A: 

This is because the HTTP server doesn't send the Content-Length header with the response. That way, the client doesn't know in advance how long the file is, and has to assume that it ends when the connection is closed by the server, with the side effect that if the connection drops prematurely, you'll end up with an incomplete download without knowing it.

This doesn't sound very good, but is in fact quite usual practice on the web, especially for dynamic content generated by scripts.

Alexey Feldgendler