ftp-client: Transfer files with FTP and FTPS

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Please see README.md

[Skip to Readme]


Change log None available
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:19:19Z




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

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