Expand description
A kernel that accepts all inbound file transfer requests for basic file transfers AND RE-VFS transfers Automatic File Transfer Acceptance
This module provides a simple network kernel that automatically accepts and processes all incoming file transfers. It’s useful for server-side implementations that need to handle file uploads without custom processing.
§Features
- Automatic file transfer acceptance
- Silent processing of transfers
- Zero configuration required
- Minimal resource usage
- Error handling for transfers
§Example:
use citadel_sdk::prelude::*;
use citadel_sdk::prefabs::server::accept_file_transfer_kernel::AcceptFileTransferKernel;
let kernel = Box::new(AcceptFileTransferKernel::<StackedRatchet>::default());
§Important Notes
- All file transfers are automatically accepted
- No customization of transfer handling
- Transfers are processed silently
- Errors are logged but not propagated
§Related Components
NetKernel
: Base trait for network kernelsObjectTransferHandler
: File transfer processingNodeResult
: Network event handling