Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
kkolner

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