com.myjavaworld.ftp
Class AS400FTPClient

java.lang.Object
  extended by com.myjavaworld.ftp.DefaultFTPClient
      extended by com.myjavaworld.ftp.AS400FTPClient
All Implemented Interfaces:
FTPClient, FTPConstants

public class AS400FTPClient
extends DefaultFTPClient

An FTP client implementation that can be used with AS/400 systems.

Version:
2.0
Author:
Sai Pullabhotla, psai [at] jMethods [dot] com

Field Summary
 
Fields inherited from class com.myjavaworld.ftp.DefaultFTPClient
bufferSize, connected, controlConnection, dataChannelUnencrypted, dataConnection, explicitSSLProtocol, listenerList, listParser, loggedIn, mode, passive, passiveIPSubstitutionEnabled, proxy, reply, sslContext, sslUsage, structure, timeout, type, workingDirectory
 
Fields inherited from interface com.myjavaworld.ftp.FTPConstants
DEFAULT_BUFFER_SIZE, DEFAULT_IMPLICIT_SSL_PORT, DEFAULT_MODE, DEFAULT_PORT, DEFAULT_STRUCTURE, DEFAULT_TIMEOUT, DEFAULT_TYPE, EOL, MODE_BLOCK, MODE_COMPRESSED, MODE_STREAM, STRUCTURE_FILE, STRUCTURE_PAGE, STRUCTURE_RECORD, TYPE_ASCII, TYPE_BINARY, TYPE_EBCDIC, TYPE_IMAGE, TYPE_LOCAL, USE_EXPLICIT_SSL, USE_IMPLICIT_SSL, USE_NO_SSL, USE_SSL_IF_AVAILABLE
 
Constructor Summary
AS400FTPClient()
          Creates a new instance of AS400FTPClient
 
Method Summary
 void login(String user, String password, String account)
          Logs in to the remote host with the specified user ID, pasword and account.
 
Methods inherited from class com.myjavaworld.ftp.DefaultFTPClient
abort, addControlConnectionListener, addDataConnectionListener, addFTPConnectionListener, allocate, close, connect, connect, connect, createDirectory, createFile, delete, deleteDirectory, deleteFile, disconnect, download, executeCommand, fireConnectionClosed, fireConnectionOpened, getBufferSize, getExplicitSSLProtocol, getHelp, getListenerList, getListParser, getLocalAddress, getLocalHost, getLocalIPAddress, getLocalPort, getMode, getProxy, getRemoteAddress, getRemoteHost, getRemoteIPAddress, getRemotePort, getSSLContext, getSSLUsage, getStructure, getSystemInfo, getTimeout, getType, getWorkingDirectory, isConnected, isDataChannelUnencrypted, isLoggedIn, isPassive, isPassiveIPSubstitutionEnabled, isSecured, list, list, list, list, login, mountStructure, noop, reinitialize, removeControlConnectionListener, removeDataConnectionListener, removeFTPConnectionListener, rename, restart, setBufferSize, setDataChannelUnencrypted, setExplicitSSLProtocol, setListParser, setMode, setPassive, setPassiveIPSubstitutionEnabled, setProxy, setSiteParameter, setSSLContext, setSSLUsage, setStructure, setTimeout, setToParentDirectory, setType, setWorkingDirectory, upload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AS400FTPClient

public AS400FTPClient()
Creates a new instance of AS400FTPClient

Method Detail

login

public void login(String user,
                  String password,
                  String account)
           throws FTPException,
                  ConnectionException
Description copied from interface: FTPClient
Logs in to the remote host with the specified user ID, pasword and account. Not all FTP servers need Account information.

Specified by:
login in interface FTPClient
Overrides:
login in class DefaultFTPClient
Parameters:
user - User ID.
password - Password.
account - Account Name.
Throws:
FTPException
ConnectionException


Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.