Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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)


Topic review


Re: WinSCP SynchronizeDirectories Module Error

Do I understand right that your TransferOptions.FileMask is quite long? Why? What are you trying to achieve?

WinSCP SynchronizeDirectories Module Error


I use WinSCP synchronize directories to sync files from one location to another. I get the following error:
Error: Exception calling "SynchronizeDirectories" with "7" argument(s): "Input [synchronize remote -nopermissions -preservetime -transfer="binary" -filemask=

"[ file path to files no synced / 195 file paths in this string seperated by ";" ]"

" -criteria="time" -- "SOURCE LOCATION" "TARGET LOCATION"] is too long (10240 limit)"

I have removed actual filepaths / locations.

Any help?