No log activity

Core FTP client questions and answers
Post Reply
KeithPat
Posts: 2
Joined: Wed Jun 10, 2015 6:54 pm

No log activity

Post by KeithPat »

I have a scheduled task that executes the following command line>>

c:\program files\coreftp\coreftp.exe -s -site BBT_ACHProcess -u d:\VerifiedPath\VerifiedFile -log d:\AHCHHFiles$\ahcfiles\BBTACH\logs\ftp\AHC401Uftp.log -output d:\AHCHHFiles$\ahcfiles\BBTACH\logs\ftp\AHC401Uftp.dat

This has produced an output and log up until 10JUN and has not produced one since then.

The log from 10JUN looks like this>>

06/10/15 09:59 (1823)
Started on Wednesday June 10, 2015 at 09:59:AMResolving
connecting...
SSH-2.0-SFTP Server
diffie-hellman-group-exchange-sha256client -> blowfishserver -> blowfishb ssh-rsaSending passwordPWD
Current directory is '/'
STOR /AFile.txt
AFile.txt - 11520 bytes transferred in 1 seconds
permission denied...
Total uploaded files: 1
Total uploaded data: 11 KB
Total downloaded files: 0
Total downloaded data: 0

This connection goes to port 10022 on the remote server and is set for 5 retries.

If I copy this command line to a command prompt, it executes just fine.

No file has been transferred since 10JUN and no log or output has been created. The task is running to successful completion each time.

The scheduled task is being run as admin and I have set the "run with highest privileges" switch.

This is being run on Server 2008R2 and the Configure For is set to Win 7, Windows Server 2008R2.

The VB job that is being executed has been compiled for "Any CPU".

This is a new server, but the job was running fine up until 10JUN and I know of nothing that has changed on this server since then.

My questions:
1. Any idea what the "permission denied" is in the log? This was there on the run for 03JUN (weekly task), but not prior to that.
2. Is there some setting that I might be missing on the task itself?

Any help would be sincerely appreciated.

Keith
chiessemo
Posts: 1
Joined: Fri Mar 22, 2013 10:36 am

No log activity

Post by chiessemo »

Something like this havent tested it but it should be close





function LuaExportStop -- open the mp log for reading
--
local mp_log = io.open"./Temp/mp_log.txt", "r"
-- create the file name date format YYMMDDHHMMSS
--
local output_filename = "mp_log_" .. os.date"ymdHMS" .. ".txt"

-- open the output file for writing
--
local output = io.openoutput_filename, "w"
-- read the whole file all and write it to the output
--
output:writemp_log:read"all"
-- close the files
--
output:close
mp_log:close
end

Let me know if you need more help.
Post Reply