https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38115 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188093|0 |1 is obsolete| | Attachment #188118|0 |1 is obsolete| | --- Comment #21 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 188122 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188122&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.