How to recover file size situated on a Web server ?

Discussions related to Visual Prolog
User avatar
Tonton Luc
VIP Member
Posts: 500
Joined: 16 Oct 2001 23:01

How to recover file size situated on a Web server ?

Unread post by Tonton Luc » 30 Sep 2016 9:06

Hi,

Is it possible to recover dynamically only the size of a file situated on this place : http://a_web_server/some_file.pdf without download it ?

User avatar
Tonton Luc
VIP Member
Posts: 500
Joined: 16 Oct 2001 23:01

Unread post by Tonton Luc » 30 Sep 2016 13:53

I've found the solution : juste need to make a HEAD request.
:wink:

Post Reply