-
-
Notifications
You must be signed in to change notification settings - Fork 659
Server Information
-
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.
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
FluentFTP has a flexible server system. Each server type internally implements FtpBaseServer
and provides all the server-specific functionality to fine-tune FluentFTP for that type of server.
We have already implemented server-specific functionality for all of the server types given above, but if you feel some functionality is missing or lacking, feel free to modify the server's file in the FluentFTP.Servers
namespace (folder) and submit a pull request.
Server-specific functionality supported:
-
Recursive file listings (
LIST -R
) on server-side. -
Recursively creating a new directory by creating all the path segments leading up to the directory.
-
Recursively deleting a directory and all its contents.
-
Determining if a path is an absolute path or relative path, in order to generate FTP paths correctly.
- Auto Connection
- Auto Reconnection
- FTP(S) Connection
- FTP(S) Connection using GnuTLS
- FTPS Proxies
- Custom Servers
- Custom Commands
- v40 Migration Guide