CoreFTP Command Line Connection Issue

Core FTP client questions and answers
Locked
another_chelle
Posts: 2
Joined: Wed Sep 07, 2011 10:48 pm

CoreFTP Command Line Connection Issue

Post by another_chelle »

I have been using the free version of CoreFTP successfully for the last couple of years. I use the command line option to automatically upload my files on a daily basis. This process has worked flawlessly.

I am now working on a new Windows 7 64-bit machine and I am running into issues. The CoreFTP client has installed successfully and I am able to upload files manually using the client. However when I try to run the upload using the command line, the connection is never made. It's not reading the site profiles I have set up; I can tell b/c it is trying to connect to a different ip (versus the ip it successfully connects to when I manually load files).

Does anyone have any suggestions?

Thanks so much

Michelle
ForumAdmin
Site Admin
Posts: 1011
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

The account being used when you are running via command line might be the system account instead of the one you are logged in with.

You may need to run as an administrator or specify the account being used when calling the command line.
another_chelle
Posts: 2
Joined: Wed Sep 07, 2011 10:48 pm

Post by another_chelle »

I did figure out the issue. On my XP machine I was able to use the following command on the command line:

c:"\program files (x86)\coreftp\coreftp.exe" -O -site mysite -u C:\myfolder\myfile.txt

On my Windows 7 machine I have to use the following command:

c:"\program files (x86)\coreFTP\corecmd.exe" -O -site mysite -u C:\myfolder\*.csv

The difference between the two commands is the call to corecmd.exe instead of coreftp.exe. All documentation I found used coreftp.exe in the examples; thus the confusion.

Thanks for the suggestion about running as admin. I am honestly surprised I did not have that issue. Everything else on Windows 7 seems to require you to run as administrator.

Michelle
Locked