COREFTP AS COMMAND LINE /CLI

Core FTP client questions and answers
Post Reply
jmitas
Posts: 1
Joined: Thu Oct 04, 2007 6:27 pm

COREFTP AS COMMAND LINE /CLI

Post by jmitas »

I need to use CoreFTP from a command line or BAT file. Is this possbile? I keep looking through the documentation and it shows no references to the commands or commands setup. If someone could provide some direction that would be great. Thanks Josh
sc
Posts: 1
Joined: Wed Nov 21, 2007 9:07 pm

Post by sc »

CP wrote:see help topic "command line"

or here:
http://www.coreftp.com/docs/web1/Command_Line_FTP.htm
Is there more complete documentation on the Command Line Options? Also is it possible to pass a script file into the Command Line Options, i.e. having a script file such as:

FTP.txt
---------------
open <mysite>
option transfer binary
put <source_file> <dest_path>
close

And then running a command-line:

coreftp.exe < FTP.txt

OR

coreftp.exe -f FTP.txt

I made up the -f parameter there, but I'm curious if it is possible to create a script file and pass that into the executable. I was led to believe there was, but I don't see anything in the documentation. I do however see references to options in the Command-Line Documention that are not defined, so I'm hoping that something like the above is possible, but just omitted from the documentation.
Post Reply