Module ftp: anonymous FTP downloading and listing

This module provides functions for anonymous FTP listings and downloads.

Module requires for init: uri

Module provides function for: uri

ftp_exists URI

URI: URI to be checked

returns: 0: URI exists, 1: URI does not exist

Check, whether specified URI exists.

ftp_get uri provider domain path file

uri: complete URI

provider: provider part of URI

domain: domain part of URI

path: path part of URI

file: file name to be downloaded to

Download a file using FTP protocol.

ftp_list uri provider domain path uri_list_callback

uri: complete URI

provider: provider part of URI

domain: domain part of URI

path: path part of URI

uri_list_callback: callback for found items

Call callback for all found FTP objects.

ftp_list_recursive uri provider domain path uri_list_callback

uri: complete URI

provider: provider part of URI

domain: domain part of URI

path: path part of URI

uri_list_callback: callback for found items

Call callback for all recursivelly found FTP objects.