9 our @ISA = qw(WgetTest);
14 my %_attr_data = ( # DEFAULT
19 my ($self, $attr) = @_;
20 return $_attr_data{$attr} if exists $_attr_data{$attr};
21 return $self->SUPER::_default_for($attr);
27 ($self->SUPER::_standard_keys(), keys %_attr_data);
35 $self->{_server} = FTPServer->new (input => $self->{_input},
37 $self->{_server_behavior},
38 LocalAddr => 'localhost',
40 rootDir => "$self->{_workdir}/$self->{_name}/input") or die "Cannot create server!!!";
46 my $synch_func = shift;
48 $self->{_server}->run ($synch_func);
51 sub _substitute_port {
54 $ret =~ s/{{port}}/$self->{_server}->sockport/eg;