Too many parameters for command 'synchronize' error after added -rawtransfersettings to the script

Advertisement

kkolner
Joined:
Posts:
1
Location:
None

Too many parameters for command 'synchronize' error after added -rawtransfersettings to the script

Hi all,

I have searched about this error all day long and there is no resolution about it
So I decide to create an account just for this error
My question is,why does this error shows up only after I added -rawtransfersettings to my script file?
It runs fine without it

I am using version 5.15
And this is the content inside my script:

option batch continue

open ftp://XXXX:XXXX@ftp.domain.com

synchronize remote C:\FTP / -delete -mirror -criteria=either -transfer=binary -rawtransfersettings CalculateSize=0

close
exit

Is this a bug?
Please help to advise
Many thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
32,072
Location:
Prague, Czechia

Re: Too many parameters for command 'synchronize' error after added -rawtransfersettings to the script

Thanks for your report.

It is indeed a bug. I've added it to the tracker:
https://winscp.net/tracker/1731

Though CalculateSize is always 0 (turned off) in scripting. So your code will have no effect even if it worked.

Reply with quote

Advertisement

You can post new topics in this forum