ftp-client: Transfer files with FTP and FTPS

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

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


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

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 && <0.15), base (>=4.8 && <5), bytestring (>=0.10.8.2 && <0.12), connection (>=0.2 && <0.4), containers (>=0.5.11.0 && <0.7), exceptions (>=0.10.3 && <0.11), network (>=2.6.3.6 && <3.2), transformers (>=0.5.6.2 && <0.6) [details]
License LicenseRef-PublicDomain
Author Megan Robinson
Maintainer mrobinson7627@gmail.com
Revised Revision 2 made by sjakobi at 2021-12-17T19:03:27Z
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 2020-06-16T13:41:55Z
Distributions LTSHaskell:0.5.1.4, NixOS:0.5.1.4, Stackage:0.5.1.4
Downloads 7467 total (59 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 2020-06-16 [all 1 reports]

Readme for ftp-client-0.5.1.4

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