https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38115 --- Comment #17 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 188118 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188118&action=edit Bug 38115: (follow-up) Use File::Basename to extract filename for remote upload When --filename contains a path (e.g., /tmp/records.mrc), the script was uploading to the remote server with the full path, creating unwanted directory structures (e.g., uploads/tmp/records.mrc). This patch uses File::Basename::fileparse() to extract just the filename portion for the remote upload, while still using the full path for local file operations. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.