Class PDIFTPClient

  • All Implemented Interfaces:
    com.enterprisedt.net.ftp.FTPClientInterface

    public class PDIFTPClient
    extends com.enterprisedt.net.ftp.FTPClient
    This class should largely be able to be removed if the edtftp project accepts my change to replace dirDetails(".") with dirDetails(null).
    Author:
    mbatchelor
    • Field Summary

      • Fields inherited from class com.enterprisedt.net.ftp.FTPClient

        CARRIAGE_RETURN, control, controlEncoding, controlPort, cvsId, data, dataChannelCallback, dataReceiveBufferSize, dataSendBufferSize, DEFAULT_BUFFER_SIZE, DEFAULT_ENCODING, DEFAULT_LISTING_LOCALES, DEFAULT_MONITOR_INTERVAL, DEFAULT_RETRY_COUNT, DEFAULT_RETRY_DELAY, DEFAULT_TIMEOUT, detectTransferMode, dirEmptyStrings, fileNotFoundStrings, FTP_LINE_SEPARATOR, id, lastReply, lastValidReply, LINE_FEED, messageListener, monitor, monitorEx, monitorInterval, password, remoteAddr, remoteHost, serverWakeupInterval, throttler, timeout, transferBufferSize, transferCompleteStrings, transferType, user
    • Constructor Summary

      Constructors 
      Constructor Description
      PDIFTPClient​(org.pentaho.di.core.logging.LogChannelInterface log)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean exists​(String remoteFile)  
      • Methods inherited from class com.enterprisedt.net.ftp.FTPClient

        abort, account, cancelResume, cancelTransfer, cdup, chdir, checkConnection, chooseTransferMode, clearSOCKS, closeDataSocket, closeDataSocket, connect, connected, debugResponses, delete, dir, dir, dir, dirDetails, dirDetails, executeCommand, features, fileDetails, forceResumeOff, get, get, get, getActiveHighPort, getActiveIPAddress, getActiveLowPort, getBuildTimestamp, getConnectMode, getControlEncoding, getControlPort, getDataReceiveBufferSize, getDataSendBufferSize, getDeleteCount, getDetectTransferMode, getDirectoryEmptyMessages, getDownloadCount, getFileNotFoundMessages, getId, getInputStream, getLastReply, getLastValidReply, getListenOnAllInterfaces, getMessageListener, getMonitorInterval, getOutputStream, getProgressMonitor, getProgressMonitorEx, getRemoteAddr, getRemoteHost, getRemotePort, getRetryCount, getRetryDelay, getServerWakeupInterval, getTimeout, getTransferBufferSize, getTransferCompleteMessages, getType, getUploadCount, getVersion, help, initGet, initialize, initPut, initSOCKS, initSOCKSAuthentication, isAutoPassiveIPSubstitution, isDeleteOnFailure, isStrictReturnCodes, isTransferCancelled, keepAlive, list, list, login, login, mkdir, modtime, noOperation, password, postTransferChecks, postTransferChecks, put, put, put, put, put, put, pwd, quit, quitImmediately, quote, quote, readChar, readChunk, readLine, reconnect, rename, resetDeleteCount, resetDownloadCount, resetTransferMode, resetUploadCount, restart, resume, rmdir, sendCommand, sendServerWakeup, setActiveIPAddress, setActivePortRange, setAutoPassiveIPSubstitution, setConnectMode, setControlEncoding, setControlPort, setDataChannelCallback, setDataReceiveBufferSize, setDataSendBufferSize, setDeleteOnFailure, setDetectTransferMode, setDirectoryEmptyMessages, setFileNotFoundMessages, setForceUniqueNames, setFTPFileFactory, setId, setListenOnAllInterfaces, setMessageListener, setModTime, setMonitorInterval, setParserLocale, setParserLocales, setPORTIP, setProgressMonitor, setProgressMonitor, setProgressMonitorEx, setRemoteAddr, setRemoteHost, setRemotePort, setRetryCount, setRetryDelay, setServerWakeupInterval, setStrictReturnCodes, setTimeout, setTransferBufferSize, setTransferCompleteMessages, setType, setupDataSocket, site, size, stat, system, toString, user, validateReply, validateReply, validateTransfer, validateTransferOnError
    • Constructor Detail

      • PDIFTPClient

        public PDIFTPClient​(org.pentaho.di.core.logging.LogChannelInterface log)
    • Method Detail

      • exists

        public boolean exists​(String remoteFile)
                       throws IOException,
                              com.enterprisedt.net.ftp.FTPException
        Specified by:
        exists in interface com.enterprisedt.net.ftp.FTPClientInterface
        Overrides:
        exists in class com.enterprisedt.net.ftp.FTPClient
        Throws:
        IOException
        com.enterprisedt.net.ftp.FTPException