line |
true |
false |
branch |
47
|
0 |
0 |
unless is_url($self, $url) |
74
|
0 |
0 |
if (defined $$self{'DATA'}{'conn'}) |
83
|
0 |
0 |
unless $$self{'DATA'}{'conn'} = 'Net::FTP'->new($$self{'DATA'}{'host'}) |
84
|
0 |
0 |
unless $$self{'DATA'}{'conn'}->login($$self{'DATA'}{'config'}{'network-parameters'}{'ftp'}{'login'}, $$self{'DATA'}{'config'}{'network-parameters'}{'ftp'}{'password'}) |
95
|
0 |
0 |
if not defined $$self{'DATA'}{'config'} and ref $$self{'DATA'}{'config'} ne 'Slackware::Slackget::Config' |
97
|
0 |
0 |
unless ($$self{'DATA'}{'conn'}) |
100
|
0 |
0 |
unless $$self{'DATA'}{'conn'} = 'Net::FTP'->new($$self{'DATA'}{'host'}) |
102
|
0 |
0 |
unless $$self{'DATA'}{'conn'}->login($$self{'DATA'}{'config'}{'network-parameters'}{'ftp'}{'login'}, $$self{'DATA'}{'config'}{'network-parameters'}{'ftp'}{'password'}) |
123
|
0 |
0 |
unless $self->_connect |
127
|
0 |
0 |
if ($$self{'DATA'}{'path'} =~ m[^$tmp_path/*$]) { } |
134
|
0 |
0 |
unless $self->conn->cwd($$self{'DATA'}{'path'}) |
153
|
0 |
0 |
unless defined $remote_file |
160
|
0 |
0 |
unless $self->_test_current_directory |
161
|
0 |
0 |
unless $self->conn->get($remote_file, "/tmp/$name") |
162
|
0 |
0 |
unless my $file = 'Slackware::Slackget::File'->new("/tmp/$name", 'file-encoding', $$self{'DATA'}{'config'}{'file-encoding'}) |
190
|
0 |
0 |
unless defined $remote_file |
191
|
0 |
0 |
unless (defined $local_file) |
192
|
0 |
0 |
if (defined $$self{'DATA'}{'download_directory'} and -e $$self{'DATA'}{'download_directory'}) { } |
|
0 |
0 |
elsif (defined $$self{'DATA'}{'config'}) { } |
206
|
0 |
0 |
unless $self->_test_current_directory |
211
|
0 |
0 |
if ($self->conn->get($remote_file, $local_file . '.part')) { } |
236
|
0 |
0 |
unless $self->fetch_file($_) |