• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get the file length before download

 
Zac Nahas
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All
I am trying to get the size of a file before downloading it. I cannot use the URL method GetContentLength because I'm using Sockets not URLs so is there any other way to do this?
Thanks
 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't remember off-head--try posting in Sockets and Internet Protocols or some other similar forum. Or better yet, try searching that forum for the answer before posting!!!
[ February 25, 2004: Message edited by: S. C. Huey ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic