Command line usage |
Usage EXE: ftcl -f scriptfile [-options] Usage JAR: java -jar ftcl.jar -f scriptfile [-options]
Example Usage EXE
ftcl -f ftpscript.txt -h ftp.myhost.com -u jsmith -p secret
Example Usage JAR
java -jar ftcl.jar -f ftpscript.txt -h ftp.myhost.com -u jsmith -p secret
The above examples use FTCL to connect to the host ftp.myhost.com with the username jsmith and password secret. Once connected the commands in the script file ftpscript.txt are executed on the remote host.
Notes
1. When using the EXE version the ftcl.exe executable must be in your system path or current directory. The EXE version may be used on the Windows operating system only.
2. When using the JAR version the java.exe executable must be in your system path or current directory and the full path to the ftcl.jar file must be specified if not located in your current directory. The JAR version is platform independent and may be used on all platforms. |