FTP logging

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
MacschedStudentX
Newbie
Posts: 5
Joined: Fri Nov 09, 2012 5:17 pm

FTP logging

Post by MacschedStudentX » Fri Nov 09, 2012 5:23 pm

Guys in MSched version 7.4 can the logging be set to write from a compiled exe file.

Meaning if I go into properties and set the logging option in the .scp file and then compile into an exe will the ftp session be written to the log file specified...........???

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Fri Nov 09, 2012 8:26 pm

Meaning if I go into properties and set the logging option in the .scp file and then compile into an exe will the ftp session be written to the log file specified...........???
I don't think that works in any version. I think you need to compile your exe making sure logging is enabled in the compile parameters. Then run the exe from some manner of command line so you can add /logfile=logfilename where "logfilename" is a file name you want to write the log to.

For example if you want to write your log file to a file named c:\mylogfile.txt:

At a command line you would enter

Code: Select all

C:\myexecutable.exe /logfile=C:\mylogfile.txt

MacschedStudentX
Newbie
Posts: 5
Joined: Fri Nov 09, 2012 5:17 pm

Post by MacschedStudentX » Fri Nov 09, 2012 8:27 pm

Thanks JRL - got it!!!!!!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts