Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iwgen-generating page in nonexisting directory
cheeku
HI all,
i am generating a page using iwgen command. i am generating the page in a directory which does not exist.But It is throwing some error 'could not create'. I want to know some command which can also generate the directory in which the page is to be generated. Is it possible?
Find more posts tagged with
Comments
Adam Stoller
You could try doing something like this in your PT (untested - but should work):
<iw_perl>
use File:
ath;
my $odir = iwpt_get_ofile_name('directory');
mkpath([$odir], 0, 0755);
</iw_perl>
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com