ftp-client-conduit: Transfer file with FTP and FTPS with Conduit

[ library, public-domain, web ] [ Propose Tags ]

Please see README.md

[Skip to Readme]
Versions [faq],,,,,,,,,,,
Dependencies base (>=4.7 && <5), bytestring, conduit (>=1.1), connection, ftp-client (==, resourcet (==1.1.*) [details]
License LicenseRef-PublicDomain
Author Matthew Robinson
Maintainer mrobinson7627@gmail.com
Category Web
Home page https://github.com/mr/ftp-client
Source repo head: git clone https://github.com/mr/ftp-client
Uploaded by miscyb at Thu Jan 12 03:24:30 UTC 2017
Distributions LTSHaskell:, NixOS:
Downloads 2929 total (99 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-01-12 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for ftp-client-conduit-

[back to package description]

FTP Conduit

ftp-client is a client library for the FTP protocol in Haskell.



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

Secured with TLS

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