Unknown option error in script

Advertisement

mikeyww
Joined:
Posts:
5

Unknown option error in script

When I use console+scripting with echo or synchdelete, I get the following errors.

Unknown option 'echo'
Unknown option 'synchdelete'

Any ideas?

Mike

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Unknown option error in script

Can you post the script?
_________________
Martin Prikryl

Reply with quote

mikeyww
Joined:
Posts:
5

SCRIPT:
option batch on
option confirm off
option echo
synchdelete off
open PCIWG
synchronize local E:\mwbackups\PCIWGwiki\wiki.d /home/pciwwei3/pciwgwiki/wiki.d
close

COMMAND LINE:
"C:\Program Files\WinSCP3\WinSCP3.exe" /ini=K:\WinSCP3.ini /console /script=E:\mwconfigs\WinSCP\PCIWGwiki.txt /log=E:\mwlogs\PCIWGwiki.log

Reply with quote E-mail

mikeyww
Joined:
Posts:
5

I realized I needed "option" before "synchdelete", but the echo is still not being accepted as an option. Would it have an effect if I am using the console?

Reply with quote E-mail

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

mikeyww wrote:

I realized I needed "option" before "synchdelete", but the echo is still not being accepted as an option. Would it have an effect if I am using the console?
There's no echo option. Why do you think so?
_________________
Martin Prikryl

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

mikeyww wrote:

I see that I can see the commands as they are being executed, but then is there a difference between echo and console?
Sorry, I do not understand. The option "echo" is already implemented, but not part of any release yet.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum