Site Profile

Core FTP client questions and answers
Post Reply
kkbAlt
Posts: 1
Joined: Wed Mar 02, 2011 10:44 pm

Site Profile

Post by kkbAlt »

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?
DMcBratney
Posts: 1
Joined: Thu Apr 28, 2011 3:52 pm

Post by DMcBratney »

I have the same question. I've sent a note to Support. Did you get any response?

BTW, it looks like profile info is stored in HKEY_CURRENT_USER\Software\FTPWare\COREFTP. I'm guessing that's why other users (like scheduled jobs) can't see the profile.
ForumAdmin
Site Admin
Posts: 1011
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

This issue is a result of running a process (Core FTP directory, batch file, scheduled task, etc) with a user that isn't the one that created the site profile.

You can get around this issue by using file based storage in view -> options -> data -> use default configuration file (F1 for more info).
myd3p
Posts: 1
Joined: Thu Jul 07, 2011 1:24 pm

Post by myd3p »

When I changed the data setup to use configuration file, I'm now having an error "Can't find site profile!" when running the batch file manually.

Is there something I need to change with the batch file to use the configuration file? Thanks.
ForumAdmin
Site Admin
Posts: 1011
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

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>
Post Reply