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

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #187086|0                           |1
        is obsolete|                            |

--- Comment #47 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 187154
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187154&action=edit
Bug 38489: Update Koha::Edifact::Transport to use new file transport system

This patch completely refactors the EDI transport handling to use the
modern file_transports system instead of legacy direct connections.

Changes:
- Remove legacy FTP/SFTP connection code
- Update constructor to load file_transport from vendor_edi_accounts
- Update download_messages/upload_messages to use modern transport methods
- Use new rename_file() method for EDI file processing workflow
- Remove dependencies on Net::FTP and Net::SFTP::Foreign
- Maintain all EDI-specific functionality (file filtering, ingestion)

Cleanup:
- Remove obsolete methods: file_download, sftp_download, ftp_download,
  sftp_upload, ftp_upload, file_upload, _abort_download
- Update POD documentation to reflect new architecture
- 184 lines of legacy code removed

Removed imports:
- use DateTime; - Not used, dt_from_string() used instead
- use English qw{ -no_match_vars }; - No English variables used
- use File::Copy qw( copy move ); - File operations now handled by
  Koha::File::Transport internally

The transport system now provides:
- Unified connection handling across all transport types
- Enhanced error reporting and status tracking
- Encrypted credential storage
- Connection testing capabilities
- Support for local directories (testing/development)

Sponsored-by: ByWater Solutions
Signed-off-by: Hannah Dunne-Howrie <[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/

Reply via email to