The ftp-client-conduit 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. ftp-client-conduit uses conduit to stream files and data in constant space.


[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 base (>=4.7 && <5), bytestring (>=0.10.8.1 && <0.11), conduit-combinators (==1.1.*), connection (>=0.2.7 && <0.3), exceptions (>=0.8.3 && <0.9), ftp-client (==0.4.*), resourcet (==1.1.*) [details]
License PublicDomain
Author Matthew Robinson
Maintainer mrobinson7627@gmail.com
Stability Unknown
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:20:09 UTC 2017 by miscyb
Distributions
Downloads 118 total (17 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-conduit

Readme for ftp-client-conduit-0.4.0.1

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