LicenseRef-PublicDomain licensed by Megan Robinson
Maintained by [email protected]
This version can be pinned in stack with:ftp-client-0.5.1.4@sha256:04bf727cbd9b7438f61686938649486a70cedd3807ccc77cd6587a4715350c89,1419

Module documentation for 0.5.1.4

FTP Client

ftp-client is a client library for the FTP protocol in Haskell.

Examples

Insecure

withFTP "ftp.server.com" 21 $ \h welcome -> do
    print welcome
    login h "username" "password"
    print =<< nlst h []

Secured with TLS

withFTPS "ftps.server.com" 21 $ \h welcome -> do
    print welcome
    login h "username" "password"
    print =<< nlst h []