Site profile cannot be found in command line

Core FTP client questions and answers
Post Reply
rogerLi
Posts: 6
Joined: Thu Nov 02, 2006 3:20 pm

Site profile cannot be found in command line

Post by rogerLi »

Hi,

As I ran the command line either upload or download a file using -site option, I got an error of "can't find site profile". Your help is greatly appreciated.

1. I have created a site named "testMysite.cfg" using Site Manager
2. Export the site to my local directory where coreftp.exe, the site profile called "testMysite.cfg"
3. here is the command line I ran:
C:\Program Files\CoreFTP>coreftp -site testMysite.cfg -u ascii.txt
4. The content of the site profile created from the export show below:
Type,1

Id,3
PId,0
....
rogerLi
Posts: 6
Joined: Thu Nov 02, 2006 3:20 pm

Post by rogerLi »

thank you for your help.

I tried with:
coreftp -site c:\temp\testMysite.cfg -u c:\temp\ipconfig.txt -p /home/yxli/Certs

and got the samo samo as beofere, a pop window saying:"Can't not find site profile!"

Is the format of the site profile correct? It seems that coreftp does not understand the config file of testMysite.cfg.

Thanks,
rogerLi
Posts: 6
Joined: Thu Nov 02, 2006 3:20 pm

Post by rogerLi »

Great! It is the ticket. Right on money!

Thankn you so much. It works now.

Still have a question for the "Script/Cmds" part in the site profile.

My remote machine is a Unix machine, I need to put some commands in "Post Login commands" field. e.g chmod 755 *
Do I need to put SITE chmod 755 * or chmod 755 *? I tried both and none of them worked.
Post Reply