private static bool EnableSsl(IActivityIOPath path) { var result = path.PathType == enActivityIOPathType.FTPS || path.PathType == enActivityIOPathType.FTPES; return result; }