ftp-client: Transfer files with FTP and FTPS

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

Please see README.md


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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, 0.5.0.0, 0.5.0.1, 0.5.1.0, 0.5.1.1, 0.5.1.2, 0.5.1.3, 0.5.1.4
Dependencies attoparsec (>=0.10), base (>=4.7 && <5), bytestring, connection (>=0.2), network [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 2017-01-12T03:20:30Z
Distributions
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 8109 total (39 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-01-12 [all 1 reports]

Readme for ftp-client-0.1.0.0

[back to package description]

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 =<< nlstS h []