edtFTPj

com.enterprisedt.net.ftp.test
Class FTPTestTools

java.lang.Object
  extended by com.enterprisedt.net.ftp.test.TestTools
      extended by com.enterprisedt.net.ftp.test.FTPTestTools

public class FTPTestTools
extends TestTools

Base class for login tools

Version:
$Revision: 1.5 $
Author:
Bruce Blackshaw

Field Summary
protected  boolean autoPassiveIPSubstitution
          If true, uses the original host IP if an internal IP address is returned by the server in PASV mode
protected  FTPConnectMode connectMode
          Connect mode for test
protected  Logger log
          Log stream
protected  boolean strictReplies
          Strict reply checking?
protected  boolean useDeprecatedConstructors
          If true use deprecated constructors
 
Fields inherited from class com.enterprisedt.net.ftp.test.TestTools
host, password, props, timeout, user
 
Constructor Summary
FTPTestTools()
           
 
Method Summary
 FTPClientInterface connect()
          Connect to the remote host
 void setProperties(Properties props)
          Set test properties for connecting
 
Methods inherited from class com.enterprisedt.net.ftp.test.TestTools
getHost, getPassword, getTimeout, getUser, setHost, setPassword, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected Logger log
Log stream


useDeprecatedConstructors

protected boolean useDeprecatedConstructors
If true use deprecated constructors


connectMode

protected FTPConnectMode connectMode
Connect mode for test


strictReplies

protected boolean strictReplies
Strict reply checking?


autoPassiveIPSubstitution

protected boolean autoPassiveIPSubstitution
If true, uses the original host IP if an internal IP address is returned by the server in PASV mode

Constructor Detail

FTPTestTools

public FTPTestTools()
Method Detail

setProperties

public void setProperties(Properties props)
Set test properties for connecting

Overrides:
setProperties in class TestTools
Parameters:
props - properties obj

connect

public FTPClientInterface connect()
                           throws Exception
Connect to the remote host

Overrides:
connect in class TestTools
Returns:
connected FTPClient
Throws:
Exception

edtFTPj

Copyright © 2000-2007 Enterprise Distributed Technologies. All Rights Reserved.