|
Secure FTP Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jscape.ftcl.FTCL
Runs a script using commands defined in the File Transfer Command Line language.
| Constructor Summary | |
FTCL()
Constructs new FTCL instance. |
|
| Method Summary | |
void |
execute(byte[] script)
Executes commands provided in byte[] |
void |
execute(java.io.File script)
Executes commands provided in file. |
static void |
main(java.lang.String[] args)
Launches FTCL application. |
void |
setDebugStream(java.io.PrintStream ps)
Sets the debug stream used by FTCL. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FTCL()
| Method Detail |
public void execute(java.io.File script)
throws com.jscape.ftcl.FTCLException
script - the script to execute
com.jscape.ftcl.FTCLException - if an error occurs
public void execute(byte[] script)
throws com.jscape.ftcl.FTCLException
script - the commands to execute
com.jscape.ftcl.FTCLException - if an error occurspublic void setDebugStream(java.io.PrintStream ps)
ps - a java.io.PrintStreamPrintStreampublic static void main(java.lang.String[] args)
args - a set of command line arguments
|
Secure FTP Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||