Command line registry vs GUI

Core FTP client questions and answers
Post Reply
foysti
Posts: 2
Joined: Tue Aug 22, 2017 12:22 pm

Command line registry vs GUI

Post by foysti »

Hi

I have a script that calls coreftp with the site as parameter. The site profile was added front end through the Site manager form. It had connection set to FTP and port to 21. This has run sucessfully in several years.

I have now updated the profile to run on port 22 and connection set to SSH/SFTP. If I connect via GUI it works fine and it connects through port 22. From command line it looks like it is still using port 21 and when I look into registry the profile still has port 21 and connection FTP set. So I assume that when I use command line it reads the profile throug registry, is that correct? And if so how can I update this without updating directly in registry?

Please help :-)
ForumAdmin
Site Admin
Posts: 987
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

use file based storage (view -> options -> data) - run as admin...

or

corecmd.exe -s sftp://user:pass@yoursite -d /remote_path/filename.ext
foysti
Posts: 2
Joined: Tue Aug 22, 2017 12:22 pm

Post by foysti »

Thanks for you help

My settings on Global settings form is Use registry and Lock settings is checked. Does that mean that when I update the port and connection no changes will be done in registry?
ForumAdmin
Site Admin
Posts: 987
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

sites are stored in the registry by default. Hit F1 in the settings for the password.
Post Reply