Exemple #1
0
        /// <summary>
        /// 合成ftp远程全路径名,但不包含远程目录
        /// </summary>
        /// <param name="filename"></param>
        /// <returns></returns>
        public string GetFtpPathfileWithoutRemoteDirectory(string filename)
        {
            string remotePathfile = @"ftp://" + Ip + Kits.GetSafedPathname(filename);

            return(remotePathfile);
        }