LicenseRef-PublicDomain licensed by Megan Robinson

Module documentation for 0.5.0.5

This version can be pinned in stack with:ftp-client-conduit-0.5.0.5@sha256:eb38935e6630624db6f525dd560ad2ba031582133f8aa874ee4dfc8db06e3128,1306

FTP Conduit

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"
    runConduitRes
        $ retr h filename
        .| sinkFile filename

Secured with TLS

withFTPS "ftps.server.com" 21 $ \h welcome -> do
    print welcome
    login h "username" "password"
    runConduitRes
        $ retr h filename
        .| sinkFile filename