Share via


WebRequestMethods.Ftp Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the types of FTP protocol methods that can be used with an FTP request. This class cannot be inherited.

Inheritance Hierarchy

System. . :: . .Object
  System.Net..::..WebRequestMethods..::..Ftp

Namespace:  System.Net
Assembly:  System.Ftp (in System.Ftp.dll)

Syntax

'Declaration
Public NotInheritable Class Ftp
public static class Ftp
public ref class Ftp abstract sealed
[<AbstractClass>]
[<Sealed>]
type Ftp =  class end
public final class Ftp

The WebRequestMethods..::..Ftp type exposes the following members.

Fields

  Name Description
Public fieldStatic member DeleteFile Represents the FTP DELE protocol method that is used to delete a file on an FTP server.
Public fieldStatic member DownloadFile Represents the FTP RETR protocol method that is used to download a file from an FTP server.
Public fieldStatic member GetFileSize Represents the FTP SIZE protocol method that is used to retrieve the size of a file on an FTP server.
Public fieldStatic member ListDirectory Represents the FTP NLIST protocol method that gets a short listing of the files on an FTP server.
Public fieldStatic member ListDirectoryDetails Represents the FTP LIST protocol method that gets a detailed listing of the files on an FTP server.
Public fieldStatic member MakeDirectory Represents the FTP MKD protocol method creates a directory on an FTP server.
Public fieldStatic member RemoveDirectory Represents the FTP RMD protocol method that removes a directory.
Public fieldStatic member Rename Represents the FTP RENAME protocol method that renames a directory.
Public fieldStatic member UploadFile Represents the FTP STOR protocol method that uploads a file to an FTP server.

Top

Remarks

The members of this class can be used to set the Method property that determines the protocol method that is to be used to perform a requested action, such as uploading or downloading a file.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Net Namespace