Dear Tore,
I found that how it works in the first part
SET PROCEDURE TO getdatafromurl.prg additive
n=getdatafromurl('http://hk.finance.yahoo.com/d/quotes.csv?s=0179.HK&f=sl1d1t1c1ohgv&e=.csv')
It works perfectly! But how about the second part?
Best regards,
Aaron Chu
********************************************************
Working with Visual FoxPro is a lot of FUN!
********************************************************