com.enterprisedt.net.ftp.script
Class ProtectCommand

java.lang.Object
  extended by com.enterprisedt.net.ftp.script.ScriptCommandImpl
      extended by com.enterprisedt.net.ftp.script.ProtectCommand
All Implemented Interfaces:
ScriptCommand

public class ProtectCommand
extends ScriptCommandImpl

Protect command. Can only be called for a plain FTP connection.

Version:
$Revision: 1.5 $
Author:
Bruce Blackshaw

Constructor Summary
ProtectCommand()
           
 
Method Summary
 CommandResult execute(ScriptEngine engine, ProFTPClientInterface ftp, java.lang.String command, java.lang.String args)
           
 java.lang.String helpMessage()
           
 
Methods inherited from class com.enterprisedt.net.ftp.script.ScriptCommandImpl
mustBeConnected, recordable, setMustBeConnected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtectCommand

public ProtectCommand()
Method Detail

execute

public CommandResult execute(ScriptEngine engine,
                             ProFTPClientInterface ftp,
                             java.lang.String command,
                             java.lang.String args)
                      throws java.io.IOException,
                             FTPException
Throws:
java.io.IOException
FTPException

helpMessage

public java.lang.String helpMessage()


Copyright © 2001-2006 Enterprise Distributed Technologies Ltd. All Rights Reserved.