Page 1 of 1

Fetch Local

Posted: Wed Oct 14, 2009 1:22 pm
by gerry.odea
Is there a way to fetch locally? For instance, instead of going to fetch www.somesite.com/news.htm, is there a way to fetch /usr/export/homes/somesite/usnews/news.htm

I have Commercial Version 2.6.929642470

Thanks.

Fetch Local

Posted: Wed Oct 14, 2009 2:18 pm
by mark
<read "/usr/export/homes/somesite/usnews/news.htm">
<fetch "http://www.somesite.com/news.htm" $ret>
will process the file from disk but pretend it came from the url.