Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
e390b4dc
Commit
e390b4dc
authored
Jan 24, 2008
by
Andreas Kusalananda Kähäri
Browse files
Display "(unknown)" when FTP file size is not known.
parent
1c4eec77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
misc-scripts/xref_mapping/XrefParser/BaseParser.pm
misc-scripts/xref_mapping/XrefParser/BaseParser.pm
+3
-2
No files found.
misc-scripts/xref_mapping/XrefParser/BaseParser.pm
View file @
e390b4dc
...
...
@@ -468,8 +468,9 @@ sub fetch_files {
}
}
printf( "Fetching
'
%s
'
(size = %d)\n",
$remote_file, $ftp->size($remote_file) );
printf( "Fetching
'
%s
'
(size = %s)\n",
$remote_file,
$ftp->size($remote_file) ||
'(
unknown
)'
);
printf( "Local file is
'
%s
'
\n", $file_path );
$ftp->binary();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment