DATA Step, Macro, Functions and more

download HTML plus images

Regular Contributor
Posts: 210

download HTML plus images

This code works fine:


ods _all_ close;
ods html path='/Somewhere' style=sasweb file='Test.html';

ods html text='<div align="center">
	Hello World.

/*Lots of SAS code*/

ods html close;
ods listing;

It creates Test.html plus the images on our server. Unfortunately our server is locked down (miss-configured?) so I cannot copy the html file plus pictures via SAS EG. I can use the Export option but that only exports the html to the local machine. Any idea of how to get the images via SAS EG?

Super User
Posts: 2,504

Re: download HTML plus images

Posted in reply to csetzkorn

2 things you can try:

 1- Using  ods html path='/Somewhere' gpath='/Somewhere' (url='.')

      (check the exact syntax if this gives an error)

 2- Using the actximg driver.



Ask a Question
Discussion stats
  • 1 reply
  • 1 like
  • 2 in conversation