with this second newbie snippet you can add a IIS FtpVirtulaDir to an exsiting one. It is very simple but I have spent so much hours that I want no one will spend the same..cheers lor*
$Object = Win32::OLE->GetObject("IIS://localhost/MSFTPSVC/1/Root/$Pare +ntVirtualDir")||die Win32::OLE->LastError(); $type = "IIsFtpVirtualDir"; $VDir = $Object->Create( $type,"NameOfNewVirtualDir"); $VDir->{AccessRead} = 1; $VDir->{AccessWrite} = 1; $VDir->{Path} = "$PathToYourNewDir"; $VDir->SetInfo();