https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38115

--- Comment #8 from Kyle M Hall (khall) <[email protected]> ---
This looks pretty good, but what if --filename is a path? Let's say it's
/tmp/records.mrc. Let's say the upload dir for the transport is 'uploads'. If I
read the code correctly, it's going to upload the file to
uploads/tmp/records.mrc.

We could use File::Basename to get just the filename from the --filename option
if it does indeed include a path.

-- 
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/

Reply via email to