Skip to main content

Module ftp

Module ftp 

Source
Expand description

FTP 协议客户端模块

提供完整的 FTP 协议实现,支持:

  • 被动模式(PASV/EPSV)和主动模式(PORT/EPRT)
  • 二进制/ASCII 传输模式切换
  • 目录列表解析(Unix/Windows 格式)
  • 断点续传(REST 命令)
  • 完整的错误处理
  • 连接池复用(40-60% 性能提升)

Re-exports§

pub use connection::FtpClient;
pub use connection::FtpFileInfo;
pub use connection::FtpMode;
pub use connection::FtpResponse;
pub use connection_pool::ConnectionKey;
pub use connection_pool::FtpConnectionPool;
pub use connection_pool::PoolConfig;
pub use connection_pool::PoolStats;
pub use connection_pool::PooledConnection;
pub use connection_pool::create_custom_pool;
pub use connection_pool::create_pool;

Modules§

connection
FTP 协议客户端实现
connection_pool
FTP connection pool for connection reuse and performance optimization.