(ftp-download! url f & {:keys [auth resume]})
Downloads from the url via FTP and saves it to local as f.
Options:
:auth Username and password for FTP authentication. e.g. {:user "user", :password "password"}
:resume Resume downloading a partially downloaded file if true. You can also specify a resuming byte position as an integer.
Downloads from the url via FTP and saves it to local as f. Options: :auth Username and password for FTP authentication. e.g. {:user "user", :password "password"} :resume Resume downloading a partially downloaded file if true. You can also specify a resuming byte position as an integer.
(http-download! url f & {:keys [auth resume]})
Downloads from the url via HTTP/HTTPS and saves it to local as f.
Options:
:auth Credentials for Basic/Digest/OAuth2 authentications. e.g. {:type :basic, :user "user", :password "password"} {:type :oauth2, :token "access-token"}
:resume Resume downloading a partially downloaded file if true. You can also specify a resuming byte position as an integer.
Downloads from the url via HTTP/HTTPS and saves it to local as f. Options: :auth Credentials for Basic/Digest/OAuth2 authentications. e.g. {:type :basic, :user "user", :password "password"} {:type :oauth2, :token "access-token"} :resume Resume downloading a partially downloaded file if true. You can also specify a resuming byte position as an integer.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close