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]


[Index] [Quick Jump]


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

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,,,,,,,,,,
Dependencies attoparsec (>=0.10 && <0.15), base (>=4.8 && <5), bytestring (>= && <0.13), containers (>= && <0.8), crypton-connection (>=0.3 && <0.4), exceptions (>=0.10.3 && <0.11), network (>= && <3.3), transformers (>= && <0.7) [details]
License LicenseRef-PublicDomain
Author Megan Robinson
Maintainer mrobinson7627@gmail.com
Revised Revision 1 made by janus at 2024-04-15T14:24:21Z
Category Web
Home page https://github.com/mr/ftp-client
Source repo head: git clone https://github.com/mr/ftp-client
Uploaded by janus at 2024-04-03T06:26:05Z
Distributions Stackage:
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 8145 total (69 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 2024-04-03 [all 1 reports]

Readme for ftp-client-

[back to package description]

FTP Client

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

Secured with TLS

withFTPS "ftps.server.com" 21 $ \h welcome -> do
    print welcome
    login h "username" "password"
    print =<< nlst h []