Цитата:
Сообщение от
belugin
судя по
описанию, это - строковая rконстанта и ее значение можно посмотреть в Visual STudio
Это методы протокола FTP. Здесь
http://msdn.microsoft.com/en-us/libr...p_members.aspx приводятся их текстовые значения.
Студия для того, чтобы посмотреть исходники библиотеки, не обязательна. Есть прекрасная утилита
Reflector. С ее помощью можно увидеть такую картину для типа System.Net.WebRequestMethods.Ftp:
X++:
/// <summary>Represents the types of FTP protocol methods that can be used with an FTP request. This class cannot be inherited.</summary>
public static class Ftp
{
/// <summary>Represents the FTP APPE protocol method that is used to append a file to an existing file on an FTP server.</summary>
public const string AppendFile = "APPE";
/// <summary>Represents the FTP DELE protocol method that is used to delete a file on an FTP server.</summary>
public const string DeleteFile = "DELE";
/// <summary>Represents the FTP RETR protocol method that is used to download a file from an FTP server.</summary>
public const string DownloadFile = "RETR";
public const string GetDateTimestamp = "MDTM";
/// <summary>Represents the FTP SIZE protocol method that is used to retrieve the size of a file on an FTP server.</summary>
public const string GetFileSize = "SIZE";
/// <summary>Represents the FTP NLIST protocol method that gets a short listing of the files on an FTP server.</summary>
public const string ListDirectory = "NLST";
/// <summary>Represents the FTP LIST protocol method that gets a detailed listing of the files on an FTP server.</summary>
public const string ListDirectoryDetails = "LIST";
/// <summary>Represents the FTP MKD protocol method creates a directory on an FTP server.</summary>
public const string MakeDirectory = "MKD";
/// <summary>Represents the FTP PWD protocol method that prints the name of the current working directory.</summary>
public const string PrintWorkingDirectory = "PWD";
/// <summary>Represents the FTP RMD protocol method that removes a directory.</summary>
public const string RemoveDirectory = "RMD";
/// <summary>Represents the FTP RENAME protocol method that renames a directory.</summary>
public const string Rename = "RENAME";
/// <summary>Represents the FTP STOR protocol method that uploads a file to an FTP server.</summary>
public const string UploadFile = "STOR";
/// <summary>Represents the FTP STOU protocol that uploads a file with a unique name to an FTP server.</summary>
public const string UploadFileWithUniqueName = "STOU";
}