The two functions are used for different purposes. Getdatafromurl is used for storing the remote contents into a memory variable, Getfilefromurl is used to gather a remote file and save it as a local file. I suppose you only need the first function, but I presented both because they are closely related.
lcURL='http://hk.finance.yahoo.com/d/quotes.csv?s=0179.HK&f=sl1d1t1c1ohgv&e=.csv'
lcText=Getdatafromurl(lcUrl)
lcUrl='lcURL='http://hk.finance.yahoo.com/download/hkdollar.csv'
lcSuccess=getfilefromurl(lcUrl,'C:\mylocalfile.csv')
>Dear Tore,
>
>I don't know what is the difference between 2 programs... second part seems to be used to save the remote file... but how can they related to each other?
>
>I try to issue command like this
>
>
>DO getdatafromurl WITH 'http://hk.finance.yahoo.com/d/quotes.csv?s=0179.HK&f=sl1d1t1c1ohgv&e=.csv'
>
>
>But there is nothing happened, except there is "blinking" the screen, it is downloaded something, but not into any file I can locate!