LicenseRef-PublicDomain licensed by Megan Robinson

Module documentation for 0.5.1.1

This version can be pinned in stack with:ftp-client-0.5.1.1@sha256:0b783165db22bfb01ebe2a2f75253760f5cefa8ac92f12f2ccbe05eb2d44a2c0,1215

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 []
comments powered byDisqus