Ftpclient¶
flowtask.interfaces.FTPClient
¶
FTP Client.
Overview
This class provides functionalities for asynchronous operations with an FTP server, including establishing connections, checking directory existence, changing working directories, and downloading files.
FTPClient
¶
Bases: ClientInterface
download_file
async
¶
download_file
Download a File from FTP based on Path. Args: file (str): file to be downloaded destination (str): path to destination rewrite (bool): file if exists, will be overwrite TODO: Support for write_into and Renaming Files.