Copy / Move files on Knime Server

#1

I have a workflow which works on desktop but i want to deploy on server. Part of the workflow is to copy a template from a folder on the server to a temp folder, created using the temp dir node.

When I run the workflow on Server I get this error message:

Copy/Move Files 63:732:825 - ERROR: Execute failed: This node only supports the protocol “file”

What can I do to fix this or is there an alternative approach to move / copy files on Knime Server?

0 Likes

#2

Hi,

the ‘Copy/Move Files’ unfortunately doesn’t support knime://-URLs, which are needed in this case. You could simply use the Download / Upload from List node. I’ve created a small example:

Cheers,
Moritz

1 Like

#3

Hi Moritz,

we keep struggeling with things like that for many years now, that nodes on the server don’t behave as in the KNIME Desktop. The “does not support the KNIME protocol” thing is a good example. What is the reason behind, not to update the nodes accordingly?

Best,
Lars

0 Likes

#4

Moritz, thanks for the this node. It did the trick.

But I second Laval, it took me several hours of severe frustration with a lot of trial and effort and in the end i had to give up. Using the download / upload node is very counterintuitive to move/copy a file on the server. Can we please have clear nodes with clear descriptions which work on both server and desktop protocols?

Much appreciated.

1 Like