Too many parameters for command 'synchronize' when adding EXIT

Advertisement

NaPeK
Joined:
Posts:
2

Too many parameters for command 'synchronize' when adding EXIT

One line CMD:
"C:\Program Files (x86)\WinSCP\WinSCP.com" /log="c:\LOG\winscp.log" /ini=nul /command "open ftp://user:pass@ftp.com" "synchronize remote -filemask="*.*" ""\\10.10.10.1\FTP Documents\FTP\"" "/in/FTP/DOC/" "exit"

Reply with quote

Advertisement

Mister H
Guest

"synchronize remote -filemask="*.*" ""\\10.10.10.1\FTP Documents\FTP\"" "/in/FTP/DOC/"
You probably need to double quote -filemask=""*.*"" and also remove the extra double quote before the destination like so:
"synchronize remote -filemask=""*.*"" ""\\10.10.10.1\FTP Documents\FTP\"" /in/FTP/DOC/"

Reply with quote

Advertisement

You can post new topics in this forum