LicenseRef-PublicDomain licensed by Megan Robinson
Maintained by Flipstone Technology Partners
This version can be pinned in stack with:ftp-client-0.5.1.6@sha256:ee1db40f80b2caebb77f9db6d1020f632741e445380b5f1a1ebb9a746a75ed92,1752

Module documentation for 0.5.1.6

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 []