You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2025/03/19 04:54:00 UTC
[jira] [Created] (IO-870) PathUtils.copyFileToDirectory doesn't work across FileSystem
David Smiley created IO-870:
-------------------------------
Summary: PathUtils.copyFileToDirectory doesn't work across FileSystem
Key: IO-870
URL: https://issues.apache.org/jira/browse/IO-870
Project: Commons IO
Issue Type: Improvement
Components: Utilities
Affects Versions: 2.15.1
Reporter: David Smiley
PathUtils.copyFileToDirectory is a simple method calling Files.copy, the latter of which supports cross-FileSystem copy. But copyFileToDirectory gets the file name from the source as a Path and then resolves this against the target, which is invalid. It needs to get the string form of the source file name.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)