Topic "Unknown option error in script"

Author Message
mikeyww
[View user's profile]

Joined: 2006-11-20
Posts: 5
When I use console+scripting with echo or synchdelete, I get the following errors.

Unknown option 'echo'
Unknown option 'synchdelete'

Any ideas?

Mike
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Can you post the script?
_________________
Martin Prikryl
mikeyww
[View user's profile]

Joined: 2006-11-20
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
mikeyww
[View user's profile]

Joined: 2006-11-20
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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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
mikeyww
[View user's profile]

Joined: 2006-11-20
Posts: 5
I see that I can see the commands as they are being executed, but then is there a difference between echo and console?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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
mikeyww
[View user's profile]

Joined: 2006-11-20
Posts: 5
OK, thank you. Sorry, I misunderstood. Great work with this program!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License