ftp-client

Transfer files with FTP and FTPS

https://github.com/mr/ftp-client

Version on this page:0.5.1.5@rev:1
LTS Haskell 21.25:0.5.1.4@rev:3
Stackage Nightly 2024-05-20:0.5.1.6
Latest on Hackage:0.5.1.6

See all snapshots ftp-client appears in

LicenseRef-PublicDomain licensed by Megan Robinson
Maintained by [email protected]
This version can be pinned in stack with:ftp-client-0.5.1.5@sha256:507262c3d974f8bd6a38519a2c18d7fe81454bf0500faff58d30f83a710b3127,1475

Module documentation for 0.5.1.5

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