There is a batch file that runs successfully if run manually, but under scheduler it logs this:
Can't find site profile!Total uploaded files: 0
Total uploaded data: 0
Total downloaded files: 0
Total downloaded data: 0
Syntax of the batch file:
@echo on
"C:\Program Files (x86)\CoreFTP\coreftp.exe" -s -O -site DMProductBrowsed3day -u "D:\Alt_ProjectBase\AA_Prod\AppData\Planner Data\COMPANY-01\Output\Product_Browsed_3day\*.csv" -output "D:\Alt_ProjectBase\AA_Prod\AppData\Planner Data\COMPANY-01\Batches\logs\output.log" -log "D:\Alt_ProjectBase\AA_Prod\AppData\Planner Data\COMPANY-01\Batches\logs\logfile%Y%m%d%HH%MM%SS.log"
pause
Can someone please identify what needs to be changed or why it can't find the site profile?
Site Profile
-
- Posts: 1
- Joined: Thu Apr 28, 2011 3:52 pm
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am
When you switch to the configuration file, it starts out being empty with no site profiles.
To copy over site profiles from the registry (default), you'll need to export site profiles by right clicking on the list of site profiles in the Site Manager and selecting "export" (to a file). Next change to file based configuration (view -> options -> data -> use default configuration files). Then import site files back in from the same menu, or you can call coreftp.exe -import <exportfile>
To copy over site profiles from the registry (default), you'll need to export site profiles by right clicking on the list of site profiles in the Site Manager and selecting "export" (to a file). Next change to file based configuration (view -> options -> data -> use default configuration files). Then import site files back in from the same menu, or you can call coreftp.exe -import <exportfile>