Liking cljdoc? Tell your friends :D

e85th.commons.net.ftp

usage: (def client (connect "ftp.sec.gov" "anonymous" "anonymous")) (get client "edgar/full-index/company.gz" "company.gz" binary) (disconnect client)

usage:
(def client (connect "ftp.sec.gov" "anonymous" "anonymous"))
(get client "edgar/full-index/company.gz" "company.gz" binary)
(disconnect client) 
raw docstring

asciiclj

source

binaryclj

source

cdclj

(cd client path)

Change directory.

Change directory.
sourceraw docstring

connectclj

(connect host user pass)

Connect to the host with user/pass. Returns FTPClient instance. The client is set to local passive mode which allows for using the client from behind a firewall. The remove verification enabled is disabled otherwise getting a file fails.

Connect to the host with user/pass. Returns FTPClient instance.
The client is set to local passive mode which allows for using the client
from behind a firewall.  The remove verification enabled is disabled
otherwise getting a file fails.
sourceraw docstring

disconnectclj

(disconnect client)

disconnects the client

disconnects the client
sourceraw docstring

enable-remote-verificationclj

(enable-remote-verification client enable?)
source

getclj

(get client remote-name local-name)
(get client remote-name local-name transfer-mode)

remote-file string path, local-file, string path, transfer-mode :ascii :binary. If no transfer mode is specified uses binary. Throws an exception if file is not retrieved successfully..

remote-file string path, local-file, string path, transfer-mode :ascii :binary.
If no transfer mode is specified uses binary. Throws an exception if file is not retrieved successfully..
sourceraw docstring

local-passive-modeclj

(local-passive-mode client)

Puts the client into local passive mode.

Puts the client into local passive mode.
sourceraw docstring

lsclj

(ls client dir)

Lists files in the given directory.

Lists files in the given directory.
sourceraw docstring

use-epsv-with-ipv4clj

(use-epsv-with-ipv4 client enable?)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close