Skip to main content

kget/ftp/
mod.rs

1//! FTP download support.
2//!
3//! This module provides FTP file downloads with:
4//! - Anonymous and authenticated access
5//! - Binary transfer mode for all file types
6//! - Progress tracking
7//! - SOCKS5 proxy support
8//!
9//! # Example
10//!
11//! ```rust,no_run
12//! use kget::ftp::FtpDownloader;
13//! use kget::{ProxyConfig, Optimizer};
14//!
15//! let downloader = FtpDownloader::new(
16//!     "ftp://ftp.example.com/pub/file.zip".to_string(),
17//!     "file.zip".to_string(),
18//!     false,
19//!     ProxyConfig::default(),
20//!     Optimizer::new(),
21//! );
22//!
23//! downloader.download().unwrap();
24//! ```
25
26mod client;
27
28pub use client::FtpDownloader;