log all activity even in command line mode

Core FTP client questions and answers
Post Reply
svanini
Posts: 4
Joined: Tue Oct 05, 2004 5:29 pm

log all activity even in command line mode

Post by svanini »

Hello!
I use version 1.3, build 1387.
I have noticed that when you use Core FTP in command line mode, it doesn't log all activity in the log file I have specified in the Global Settings, even if I checked this option.
How can I do for logging activity in command line mode? Is it possible to do this?

Thanks!
Sal
svanini
Posts: 4
Joined: Tue Oct 05, 2004 5:29 pm

Post by svanini »

Ok, the informations contained in the log file you create in this way are not usefull for me. Do you know if it's possible to add the file size of the transfered file in the informations contained in it?
I have an application written in Java that launches an ftp command and checks the file size of the transferred file by reading the log file produced by Core FTP when you enable the option "Log all activity". The file produced contains the session log that is the text that scrolls by while you are connected i.e. the log of all commands and responses during an FTP session.
I noticed that if I launch the ftp command in a dos window it works, in the sense that Core FTP produces a log file of all the activity. If I launch it inside the Java Code (by using Runtime.exec(command)) Core FTP doesn't update the log file ...
svanini
Posts: 4
Joined: Tue Oct 05, 2004 5:29 pm

Post by svanini »

could you send me an example of the syntax you have to use please?
I tried to launch un upload using this parameter but Core FTP dowsn't start

Thanks!
svanini
Posts: 4
Joined: Tue Oct 05, 2004 5:29 pm

Post by svanini »

I'm sorry, but also in this way the informations contained in the output.dat file produced are always the same. The file size is not written, there are only the transfer type and the transfer status and the name of the file transfered :cry:
Post Reply