Re: We performed the following to make it work w theMS SQL agent
For others: please read FAQ.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Executed as user:HSEN\_sossqlservice. C:\Program Files\Common Files\SYSTEM\MSMAPI\1033>"c:\program files\winscp\winscp.com" /script=c:\batch\FTPKTToKAText.txt /log=c:\batch\ftptocontroltec batch on confirm off Searching for host... Host does not exist No Session. c:\ImportExport\KinderTrack transfer binary No session. No session. No session. c:\ImportExport\KinderTrack\Tracking transfer binary No session. No session. No session. No session. c:\ImportExport\KinderTrack\Schedules transfer binary No session No session Process Exit Code 1. The step failed
"c:\program files\winscp\winscp.com" /script=c:\batch\FTPKTToKTText.txt /log=c:\batch\ftptocontroltec
option batch on
option confirm off
open Controltec
cd KinderAttend
lcd c:\ImportExport\KinderTrack
option transfer binary
Put KinderCN.txt
Put KinderPN.txt
cd ..
cd KinderAttend\Tracking
lcd c:\ImportExport\KinderTrack\Tracking
option transfer binary
Put TrackingAttendance.txt
Put TrackingChildProviderExport.txt
cd ..
cd ..
cd KinderAttend\Schedules
lcd c:\ImportExport\KinderTrack\Schedules
option transfer binary
Put KTtoKAChildScheduleExport.txt
close
exit
ftp
client on the server. MS SQL 2000's job call to the batch and the batch runs the ftp
commands using Microsoft's ftp
client.