https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38115
Kyle M Hall (khall) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188093|0 |1 is obsolete| | Attachment #188118|0 |1 is obsolete| | --- Comment #21 from Kyle M Hall (khall) <[email protected]> --- 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 <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
