FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log inLog in 


How to recover file size situated on a Web server ?

Post new topic   Reply to topic    discuss.visual-prolog.com Forum Index -> Visual Prolog
View previous topic :: View next topic  
Author Message
Tonton Luc



FRANCE (Le Touquet)
Joined: 16 Oct 2001
Posts: 1539

PostPosted: 30 Sep 2016 9:06    Post subject: How to recover file size situated on a Web server ? Reply with quote

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 ?
Back to top
View user's profile Send private message
Tonton Luc



FRANCE (Le Touquet)
Joined: 16 Oct 2001
Posts: 1539

PostPosted: 30 Sep 2016 13:53    Post subject: Reply with quote

I've found the solution : juste need to make a HEAD request.
Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    discuss.visual-prolog.com Forum Index -> Visual Prolog All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum