Search

Class FTPClient

Jakarta Commons Net FTP client wrapper

Attributes

Name Type Description
connectTimeout Number Socket connect timeout
cwd String Current working directory
output String Command output if any
replyCode String Last reply code
soLinger Number Socket SO Linger , null if disabled
state String Execution state
tcpNoDelay boolean Socket TCP NO DELAY
timeout Number Socket timeout

Methods

Name Returns
FTPClient() constructor
connect(String host, Number port) void
disconnect() void
enableSSL(boolean on) void
executeCommand(String cmd, String args) void
getFile(String remoteFile, String localFile) Number
getStatus() String
getString(String remoteFile) String
isAvailable() boolean
isConnected() boolean
listAll(String basePath) String[]
listDir(String basePath) String[]
listFile(String basePath) String[]
login(String username, String password, String account) void
putFile(String localFile, String remoteFile) Number
putString(String content, String remoteFile) Number

Returned by

None

Referenced in

None