The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MarpaX::ESLIF::URI::ftp - URI::ftp syntax as per RFC1738

VERSION

version 0.002

SUBROUTINES/METHODS

MarpaX::ESLIF::URI::ftp inherits, and eventually overwrites some, methods or MarpaX::ESLIF::URI::_generic.

$class->bnf

Overwrites parent's bnf implementation. Returns the BNF used to parse the input.

$class->grammar

Overwrite parent's grammar implementation. Returns the compiled BNF used to parse the input as MarpaX::ESLIF::Grammar singleton.

$self->user($type)

Returns the user, or undef. $type is either 'decoded' (default value), 'origin' or 'normalized'.

$self->password($type)

Returns the password, or undef. $type is either 'decoded' (default value), 'origin' or 'normalized'.

NOTES

The eventual ftp type is left as part of the last segment of path.
The default ftp port is the one configured on caller's system, or 20.

SEE ALSO

RFC1738, MarpaX::ESLIF::URI::_generic

AUTHOR

Jean-Damien Durand <jeandamiendurand@free.fr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Jean-Damien Durand.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.