FtpUrl
A type that will accept ftp URL.
* TLD not required
* Host not required
Constructor
Signature
def FtpUrl() - > null
Methods
_constraints()
def _constraints() - > [UrlConstraints](urlconstraints.md?sid=pydantic_networks_urlconstraints)
Defines the validation rules and configuration for FTP URLs, specifically restricting the protocol to the 'ftp' scheme.
Returns
| Type | Description |
|---|---|
[UrlConstraints](urlconstraints.md?sid=pydantic_networks_urlconstraints) | A configuration object that enforces scheme validation for FTP instances. |