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;
Another good example is available at
<!-- m --><a class="postlink" href="http://groups.google.com/groups?q=infile+http+group:comp.soft-sys.sas&hl=en&lr=&ie=UTF-8&group=comp.soft-sys.sas&safe=off&selm=83F5497995A8D511965F00508BB929700271F0BE%40ddsexmb01.cahwnet.gov&rnum=4">http://groups.google.com/groups?q=infil ... gov&rnum=4</a><!-- m -->