Fixes #4424 - Permit to copy file from remote host