Exemple #1
0
 public override bool LoadVirtualFile(string virtualFile, IExtendedFileNameHolderInfo holder)
 {
     if (virtualFile.StartsWith("@ftp:"))
     {
         Server      = LoadProp(virtualFile, "host");
         Login       = LoadProp(virtualFile, "login");
         Path        = LoadProp(virtualFile, "path");
         Password    = XmlTool.SafeDecodeString(LoadProp(virtualFile, "pwd"));
         PassiveMode = virtualFile.Contains("[pass/]");
         return(true);
     }
     return(false);
 }