Hi,
I have never work experience on fetch http or ftp files into SAS using SAS sysytem, but Hope the following sample helpful to you,
filename foo URL
'http://www.sas.com:80/service/techsup/intro.html';
data _null_;
infile foo length=len;
input record $varying200. len;
put record $varying200. len;
if _n_=15 then stop;
run;