top of page
  • Writer's pictureBent Petersen

Kraken2: " unexpected FTP path (new server?) for

I needed to download new databases for Kraken2, but kept running into the same error: unexpected FTP path (new server?)for https://..

There were many different solutions online, but none of them worked, despite the fact that the code should be updated.

For a very long time, I felt like this...

But, after some time I figured it out by myself, and thought I would share the solution with you all :-)

You just simply need to edit line 46 in the file:


if (! ($full_path =~ s#^ftp://${qm_server}${qm_server_path}/##)) {


if (! ($full_path =~ s#^https://${qm_server}${qm_server_path}/##)) {

Thats it...

359 views0 comments

Recent Posts

See All
bottom of page