1

Trying to automate FTP through the WinSCP script:

option block abort
option confirm off
open ftp://[link to cloud server here]
synchronize local (path to local files) /Qty Update
exit

Session starts and connects but then I get

Too many parameters for command 'synchronize'

1 Answer 1

0

If the paths contain spaces, you have to surround them by double-quotes:

synchronize local "C:\path to local files" "/Qty Update"

Side note: It's option batch abort, not block.


Other questions with the same error message, but different problem:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.