U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » Http file download question
Http file download question [message #36383] Wed, 23 May 2012 15:33 Go to previous message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hello all

I am an absolute dummy in Http.

Based in nice GuiWebDownload demo I wanted to download a file. It works for default address " http://downloads.sourceforge.net/project/upp/upp/4179/upp-x1 1-src-4179.tar.gz" but not the intranet address I am trying. I this case it just returns .html text enclosed below.

Is there perhaps a way to do something else to inform the http server that I want to download that file?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!-- turing_cluster_prod -->
<html>
  <head>
    <title>myintranet.com</title>
    <meta name="keywords" content="myintranet.com">
    <meta name="description" content="myintranet.com">
    <meta name="robots" content="INDEX, FOLLOW">
    <meta name="revisit-after" content="10">

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

     <script type="text/javascript">  
cookie_callback = function(val) {
    var exdate=new Date();
    exdate.setFullYear(exdate.getFullYear() + 1);
    document.cookie = "Spusr=" + escape(val) +
      "; expires=" + exdate.toUTCString();
    document.cookie = "jsc=1";
}
</script>  <script src="http://dsparking.com/?epl=K1r1PWFL4whaUopc-k_sfvl965SQUDhFchf_sgtFFDZmEM9xLcww6D2D4Foq9H3fDGpm0AEDjY5GA22FLci0zrMUnBwoBQN6Tt3TMBlFCvuC9zXtFdo4BnVJ0lZSokakthURfpJVnlYDJnsBrmd8X_jATD0AqH6q6ZmoaZqmn6pBGgYa0MQ0MuWpBpUAIGDc778AAOB_AQAAQIBbCgAA-X3rlFlTJllBMTZoWkKdAAAA8A">
</script> 

  </head>
  <frameset rows="100%,*" frameborder="no" border="0" framespacing="0">
    <frame src="http://www.myintranet.com?epl=VFsGxNHfvy2uTVDVdXhhUFxPrIIgoXCK5C6-cs2zArDoQJQGnMlOuLYGd9Q_l1m4dj9N7K7fm5b0TV4HE0dOXJ8yKBCyqFhuCJ27BoeKHIQw2lYtFz_PpTWijmozkHpqHtVo4umpGgAAANAocgAgENynvwAAoH8BAABAgNsHAACuJ1ZBWVMmWUExNmhaQnIAAADw" name="myintranet.com">
  </frameset>
  <noframes>
	<body>
    <a href="http://www.myintranet.com?epl=VFsGxNHfvy2uTVDVdXhhUFxPrIIgoXCK5C6-cs2zArDoQJQGnMlOuLYGd9Q_l1m4dj9N7K7fm5b0TV4HE0dOXJ8yKBCyqFhuCJ27BoeKHIQw2lYtFz_PpTWijmozkHpqHtVo4umpGgAAANAocgAgENynvwAAoH8BAABAgNsHAACuJ1ZBWVMmWUExNmhaQnIAAADw">
      Click here to go to myintranet.com </a>.
	</body>
  </noframes>
</html>


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Set thread priority for linux
Next Topic: [Solved]Can't show favicon.ico in Skylark if root path is not Null
Goto Forum:
  


Current Time: Fri May 15 09:32:58 GMT+2 2026

Total time taken to generate the page: 0.01831 seconds