I'm using FTP7 (or FTP7.5). I create an FTP site using MWA (C#), but when I try to get (ftpsite is a Site object):
ftpsite.State
it fails with exception: The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8).
It also fails on ftpsite.Stop and ftpsite.Start methods, but with no exception message.
I've also noticed that in applicationHost.config, the attribute "serverAutoStart" has no effect on FTP sites.
So how can I get FTP site state and stop or start it?