Skip to content

Server Information

Robinicks edited this page Feb 5, 2020 · 20 revisions

API

  • ServerType - Gets the type of the FTP server software that we're connected to, using the FtpServer enum. See the list of supported FTP servers. Default: FtpServer.Unknown

  • ServerOS - Gets the operating system of the FTP server software that we're connected to, using the FtpOS enum. See the list of supported operating systems. Default: FtpOS.Unknown

  • SystemType - Gets the type of system/server that we're connected to.

  • Capabilities - Gets the server capabilities (represented by flags).

  • HasFeature() - Checks if a specific feature (FtpCapability) is supported by the server.

FAQs

How do I detect the type of server I'm connecting to?

You can read ServerType to get the exact type of FTP server software that you've connected to. We dynamically detect the FTP server software based on the welcome message it sends when you've just connected to it. We can currently detect:

  • PureFTPd
  • VsFTPd
  • ProFTPD
  • WuFTPd
  • FileZilla Server
  • OpenVMS
  • Windows Server/IIS
  • Windows CE
  • GlobalScape EFT
  • HP NonStop/Tandem
  • Serv-U
  • Cerberus
  • CrushFTP
  • glFTPd
  • Homegate FTP
  • BFTPd
  • FTP2S3 Gateway
  • XLight
  • Solaris FTP
  • IBM z/OS

You can also read ServerOS to get the operating system of the FTP server you've connected to. We can detect:

  • Windows
  • Unix
  • VMS
  • IBM OS/400
  • IBM z/OS
  • SunOS
Clone this wiki locally