NetTalk Central

Author Topic: Net SImple Client taking so mych time to download  (Read 13134 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Net SImple Client taking so mych time to download
« on: March 12, 2010, 07:35:13 AM »
Hi, using the NT demo app, if you try to fetch the following page:

http://finance.yahoo.com/q?s=YHOO

Its seams to be readed quickly, but, ince readed it takes so much time to display it.

Which can be the problem?
How can I speed it?
May be knowing the size I need to download?, I dont need the entire page.

Thanks
Alberto
-----------
Regards
Alberto

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Net SImple Client taking so mych time to download
« Reply #1 on: April 16, 2010, 08:02:56 AM »
This is another page that, not even take too long, but fails with time out.

http://www.google.com/finance?q=C

If you open it with a browser then no problem.

How can I fetch it?

Thanks

-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Net SImple Client taking so mych time to download
« Reply #2 on: April 17, 2010, 05:51:11 AM »
Seems to be working ok from here, Alberto.
Using the NetDemo app.

cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Net SImple Client taking so mych time to download
« Reply #3 on: April 17, 2010, 06:26:32 AM »
Weird!
I´m using Can Use proxy, Return Text Only and No Cache checked.
I click on the Go Fetch, it starts and when it reachs the following message
Downloading 95771... (expected size unknown)
It hangs and after a few seconds the Error trap called text appears.
I only need the first part of the page, may be limiting te size to read...
Is it possible?
THanks
-----------
Regards
Alberto

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Net SImple Client taking so mych time to download
« Reply #4 on: April 21, 2010, 04:30:23 AM »
Bruce,
How can I limit the size of the download?
Ex: I need to download the first 1000 bytes
Thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Net SImple Client taking so mych time to download
« Reply #5 on: April 21, 2010, 10:27:48 PM »
I guess so, after n bytes have been received via the .Process method, you could do a .Close on the connection.

Cheers
Bruce