Creating FTP sites RRS feed

  • Question

  • Hi,

    My operating code DirectoryEntry ftpSvc = new DirectoryEntry ("IIS :/ / localhost / msftpsvc"); foreach (DirectoryEntry entry in ftpSvc.Childern) { ...}, in IIS6.0 work properly, but in IIS7.5 throws COMException exception under: The specified path cannot be found I installed all II 6 compatibility items, I have disabled user control authority, and tried "msftpsvc" also "FTPSVC" or "FTPSVC1" . Nothing is working. It is working fine for W3svc and not for ftp sites alone

    Can you please suggest a solution?

    Monday, September 15, 2014 6:56 AM