@hackage ftp-client-conduit0.3.0.0
Transfer file with FTP and FTPS with Conduit
Categories
License
LicenseRef-PublicDomain
Maintainer
mrobinson7627@gmail.com
Links
Versions
Installation
Dependencies (6)
- base >=4.7 && <5
- bytestring >=0.10.8.1 && <0.11
- conduit >=1.1 && <1.3
- connection >=0.2.6 && <0.3
- ftp-client >=0.3 && <0.4
- resourcet >=1.1 && <1.2 Show all…
Dependents (1)
@hackage/acme-everything
FTP Conduit
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"
runConduitRes
$ retr h filename
.| sinkFile filename
Secured with TLS
withFTPS "ftps.server.com" 21 $ \h welcome -> do
print welcome
login h "username" "password"
runConduitRes
$ retrS h filename
.| sinkFile filename