tribble.net.ftp
Class FTPSSLClient
java.lang.Object
   tribble.net.ftp.FTPClientAdapter
tribble.net.ftp.FTPClientAdapter
       tribble.net.ftp.FTPClient
tribble.net.ftp.FTPClient
           tribble.net.ftp.FTPSSLClient
tribble.net.ftp.FTPSSLClient
- All Implemented Interfaces: 
- FTPClientI, FTPSimpleClientI
- public class FTPSSLClient 
- extends FTPClient- implements FTPClientI
Simple SSL FTP client.
 Allows clients to establish secure FTP connections, send and receive files,
 get remote directory listings, etc.  All socket connections are established as
 using the secure sockets layer (SSL) protocol.
 
 This is a simple, bare-bones, no-nonsense implementation, providing only the
 most basic FTP capabilities, and performing only minimal error checking and
 verification, and almost no error recovery.  If your FTP server is well
 behaved, though, this implementation should meet the basic needs of simple
 FTP applications.
 
- Since:
- API 1.0, 2006-12-16
- Version:
- API 2.0 $Revision: 1.3 $ $Date: 2010/07/12 21:31:10 $
- Author:
- David R. Tribble (david@tribble.com).
        
        Copyright ©2006-2010 by David R. Tribble, all rights reserved.
 Permission is granted to any person or entity except those designated
        the United States Department of State as a terrorist, or terrorist
        government or agency, to use and distribute this source code provided
        that the original copyright notice remains present and
        unaltered.
 
 
| Fields inherited from class tribble.net.ftp.FTPClientAdapter | 
| m_bufSize, m_cmdPort, m_dataPort, m_debugOut, m_hostName, m_inBytes, m_isConnected, m_isLoggedOn, m_localDir, m_outBytes, m_passiveMode, m_password, m_remoteDir, m_stop, m_textMode, m_timeOut, m_userID | 
 
 
| Method Summary | 
|  void | connect()Connect to the remote FTP system.
 | 
| static void | main(java.lang.String[] args)Test driver.
 | 
 
| Methods inherited from class tribble.net.ftp.FTPClient | 
| appendFile, createDirectory, disconnect, getDirectoryList, getDirectoryNames, getDirectoryNames, getFile, getHelp, getRemoteDir, getStatus, getSystemInfo, login, ping, putFile, putFile, removeDirectory, removeFile, rename, setAsciiMode, setRemoteDir, setRemoteDirUp, setTextMode | 
 
| Methods inherited from class tribble.net.ftp.FTPClientAdapter | 
| appendFile, appendFile, finalize, getCommandPort, getDataPort, getDirectoryList, getDirectoryNames, getDirectoryNames, getDirectoryNames, getFile, getFile, getHost, getInputByteCount, getLocalDir, getOutputByteCount, getPassword, getTimeOut, getUserID, isAbsoluteFilename, isConnected, isLoggedIn, login, putFile, resetStop, setBufferSize, setCommandPort, setDataPort, setHost, setLocalDir, setPassive, setPassword, setTimeOut, setUserID, stop | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface tribble.net.ftp.FTPClientI | 
| appendFile, getDirectoryList, getDirectoryList, getDirectoryNames, getDirectoryNames, getFile, getHelp, getStatus, getSystemInfo, login, ping, putFile | 
 
| Methods inherited from interface tribble.net.ftp.FTPSimpleClientI | 
| appendFile, appendFile, createDirectory, disconnect, getCommandPort, getDataPort, getDirectoryNames, getDirectoryNames, getFile, getFile, getHost, getLocalDir, getPassword, getRemoteDir, getTimeOut, getUserID, isConnected, isLoggedIn, login, putFile, putFile, removeDirectory, removeFile, rename, setBufferSize, setCommandPort, setDataPort, setHost, setLocalDir, setPassive, setPassword, setRemoteDir, setRemoteDirUp, setTextMode, setTimeOut, setUserID | 
 
FTPSSLClient
public FTPSSLClient()
- Default constructor.
 
- Since:
- 1.1, 2006-12-16
 
main
public static void main(java.lang.String[] args)
                 throws java.lang.Exception
- Test driver.
 
  Usage 
  
 
 java tribble.net.ftp.FTPSSLClient
    host port[:dport]|-
    user|- password [-action...]
 
 
 
 
- 
 
- 
- Parameters:
- args- Command line arguments.
- Throws:
- java.lang.Exception
- Since:
- 1.1, 2006-12-16
- See Also:
- FTPClientRun
 
connect
public void connect()
             throws java.io.IOException
- Connect to the remote FTP system.
 
- 
- Specified by:
- connectin interface- FTPSimpleClientI
- Overrides:
- connectin class- FTPClient
 
- 
- Throws:
- java.io.IOException- Thrown if unable to connect to the remote FTP system.
- Since:
- 1.1, 2006-12-16
- See Also:
- disconnect()