Hi, thank you for maintaining MFT.
Would it be possible to add connection/transfer timeout support and safe cancellation for stalled uploads or downloads?
I’m using MFT in an iOS File Provider extension, where transfers can run on unreliable mobile networks. MFT’s progress callback works well while bytes are moving, but if a connection stalls completely and no callback arrives, there is no supported way to stop the active transfer.
Calling [disconnect] from another queue is risky because MFTSftpConnection is not thread-safe.
A timeout or cancellation mechanism managed inside MFT would let apps fail the transfer cleanly and retry using a fresh connection.
Since MFT already uses libssh, perhaps its timeout options could be exposed through MFT. This would be very helpful for mobile and background synchronization use cases.
Hi, thank you for maintaining MFT.
Would it be possible to add connection/transfer timeout support and safe cancellation for stalled uploads or downloads?
I’m using MFT in an iOS File Provider extension, where transfers can run on unreliable mobile networks. MFT’s progress callback works well while bytes are moving, but if a connection stalls completely and no callback arrives, there is no supported way to stop the active transfer.
Calling [disconnect] from another queue is risky because MFTSftpConnection is not thread-safe.
A timeout or cancellation mechanism managed inside MFT would let apps fail the transfer cleanly and retry using a fresh connection.
Since MFT already uses libssh, perhaps its timeout options could be exposed through MFT. This would be very helpful for mobile and background synchronization use cases.