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
256053d4
Commit
256053d4
authored
Feb 21, 2008
by
Andreas Kusalananda Kähäri
Browse files
Set FTP transfer to binary earlier.
parent
de87e27e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
misc-scripts/xref_mapping/XrefParser/BaseParser.pm
misc-scripts/xref_mapping/XrefParser/BaseParser.pm
+2
-1
No files found.
misc-scripts/xref_mapping/XrefParser/BaseParser.pm
View file @
256053d4
...
...
@@ -437,6 +437,8 @@ sub fetch_files {
return ();
}
$ftp->binary();
foreach my $remote_file ( ( @{ $ftp->ls() } ) ) {
if (
!match_glob( basename( $uri->path() ), $remote_file
...
...
@@ -473,7 +475,6 @@ sub fetch_files {
$ftp->size($remote_file) ||
'(
unknown
)'
);
printf( "Local file is
'
%s
'
\n", $file_path );
$ftp->binary();
if ( !$ftp->get( $remote_file, $file_path ) ) {
printf( "==> Could not get
'
%s
'
: %s\n",
basename( $uri->path() ),
...
...
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