%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/share/perl5/URI/ |
Upload File : |
package URI::ftp;
use strict;
use warnings;
our $VERSION = '1.71';
$VERSION = eval $VERSION;
use parent qw(URI::_server URI::_userpass);
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;