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'

Martin Prikryl
  • 167,268
  • 50
  • 405
  • 846

1 Answers1

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:

Martin Prikryl
  • 167,268
  • 50
  • 405
  • 846