PATH:
usr
/
share
/
perl5
/
URI
package URI::ftp; require URI::_server; require URI::_userpass; @ISA=qw(URI::_server URI::_userpass); use strict; sub default_port { 21 } sub path { shift->path_query(@_) } # XXX sub _user { shift->SUPER::user(@_); } sub _password { shift->SUPER::password(@_); } sub user { my $self = shift; my $user = $self->_user(@_); $user = "anonymous" unless defined $user; $user; } sub password { my $self = shift; my $pass = $self->_password(@_); unless (defined $pass) { my $user = $self->user; if ($user eq 'anonymous' || $user eq 'ftp') { # anonymous ftp login password # If there is no ftp anonymous password specified # then we'll just use 'anonymous@' # We don't try to send the read e-mail address because: # - We want to remain anonymous # - We want to stop SPAM # - We don't want to let ftp sites to discriminate by the user, # host, country or ftp client being used. $pass = 'anonymous@'; } } $pass; } 1;
[-] telnet.pm
[edit]
[-] ldapi.pm
[edit]
[-] _idna.pm
[edit]
[-] data.pm
[edit]
[-] _punycode.pm
[edit]
[-] Heuristic.pm
[edit]
[-] http.pm
[edit]
[-] ldaps.pm
[edit]
[-] rtspu.pm
[edit]
[+]
..
[-] tn3270.pm
[edit]
[-] _foreign.pm
[edit]
[-] sips.pm
[edit]
[-] https.pm
[edit]
[-] URL.pm
[edit]
[-] urn.pm
[edit]
[-] _generic.pm
[edit]
[-] Split.pm
[edit]
[-] nntp.pm
[edit]
[-] news.pm
[edit]
[-] _segment.pm
[edit]
[-] snews.pm
[edit]
[-] _userpass.pm
[edit]
[-] mms.pm
[edit]
[-] WithBase.pm
[edit]
[-] sip.pm
[edit]
[-] rsync.pm
[edit]
[-] ldap.pm
[edit]
[-] _query.pm
[edit]
[-] file.pm
[edit]
[-] rlogin.pm
[edit]
[-] Escape.pm
[edit]
[+]
urn
[-] _server.pm
[edit]
[-] ftp.pm
[edit]
[-] gopher.pm
[edit]
[-] ssh.pm
[edit]
[+]
file
[-] _login.pm
[edit]
[-] QueryParam.pm
[edit]
[-] IRI.pm
[edit]
[-] mailto.pm
[edit]
[-] rtsp.pm
[edit]
[-] pop.pm
[edit]
[-] _ldap.pm
[edit]