System.Net.FtpClient.FtpExtensions.GetFtpFileName C# (CSharp) Method

GetFtpFileName() public static method

Gets the file name from the path
public static GetFtpFileName ( this path ) : string
path this The full path to the file
return string
        public static string GetFtpFileName(this string path)
        {
            return System.IO.Path.GetFileName(path).GetFtpPath();
        }