The ftp-client package

[Tags:library, public-domain, test]

ftp-client is a library for communicating with an FTP server. It works over both a clear channel or TLS.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.0.1
Dependencies attoparsec (>=0.10 && <0.14), base (>=4.8 && <5), bytestring (>=0.10.8.1 && <0.11), connection (==0.2.*), containers (>=0.5.7.1 && <0.6), exceptions (>=0.8.3 && <0.9), network (>=2.6.3.1 && <2.7), transformers (>=0.5.2.0 && <0.6) [details]
License PublicDomain
Author Matthew Robinson
Maintainer mrobinson7627@gmail.com
Category Web
Home page https://github.com/mr/ftp-client
Source repository head: git clone https://github.com/mr/ftp-client
Uploaded Mon Feb 13 23:19:52 UTC 2017 by miscyb
Distributions NixOS:0.4.0.1
Downloads 117 total (7 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-02-13 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for ftp-client

Readme for ftp-client-0.4.0.1

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