Hello all,
I am new to CoreFTP, thanks in advance for your help.
When I run CoreFTP file transfer via the command line does it return any results code or error code?
I would like to capture a return code and check it for success or error. How might I do that?
Also, is there a way to get verbose info into the log file?
Here is an example of what I run at the command line:
"C:\Program Files\CoreFTP\coreftp.exe" -site XYZ -s -O -A -u "\\FileServer\FileToSendToWXYZ" -p "ABC.TEST.XYZ." -output "c:\Logs\XYZFTPLOG.log"
-site is the site name of the saved connection to use
-s is the silent switch
-A is ASCII mode
-O overwrites the file if it exists
-u is the file to upload
-p is where to put the file
-output is the location of the output log file
Thanks greatly,
David H.
command line result code?
-
- Site Admin
- Posts: 989
- Joined: Mon Mar 24, 2003 4:37 am
Re: command line result code?
add -log <logfile> for the log. Then post the contents here
To get a valid return code use corecmd.exe and/or check %ERRORLEVEL%
see help file topic "command line" for more examples.
To get a valid return code use corecmd.exe and/or check %ERRORLEVEL%
see help file topic "command line" for more examples.