AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX: Программирование
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 08.05.2009, 14:06   #7  
RumataEstor is offline
RumataEstor
очами вижу
 
84 / 19 (1) ++
Регистрация: 29.04.2008
Адрес: Москва
Цитата:
Сообщение от 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";
}
Теги
ftp, законченный пример, полезное, ax2009

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
работа по FTP mit DAX: Программирование 9 19.09.2014 10:05
msdynamicsax: FTP-client within Ax Blog bot DAX Blogs 0 08.04.2009 01:06
FTP и SSL sao DAX: Программирование 1 23.03.2009 13:25
FTP FtpFindFirstFileA реализация? Gorynych DAX: Программирование 7 11.04.2007 11:32

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 11:15.