This patch enhances the file transport system with file renaming capabilities and adds a Local transport class for development/testing. Changes: - Add rename_file() method to base Transport class and SFTP/FTP subclasses - Create Koha::File::Transport::Local for local directory operations - Add 'local' transport type to polymorphic mapping - Update transport instantiation to handle Local transport - Add Local transport tests to verify polymorphic behavior - Enhanced connect() method for Local transport validates directories The rename_file functionality is needed for EDI file processing workflow where files are renamed after download to mark them as processed. Sponsored-by: ByWater Solutions Signed-off-by: Hannah Dunne-Howrie <hdunne-howrie@westminster.gov.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> |
||
|---|---|---|
| .. | ||
| Transport | ||
| Transport.t | ||
| Transports.t | ||