I'm trying to do all things automatically, but can't get through it.
What I want to do - run WinSCP on windows startup, logon using last (and the only one) saved session and keep remote folder up to date.
Using documentation made batch file:
@ECHO OFF @ECHO Odpalamy FTP... :-) @PING 18.104.22.168 -n 1 -w 10000 >NUL @START C:"\Documents and Settings\joujoujou\Desktop\Pulpitt\winscp\WinSCP.exe" /command /script=test.txt
as well as script file (test.txt), located together with both winscp.exe and winscp.com in the same folder:
option batch on option confirm off open firstname.lastname@example.org keepuptodate C:\Program Files\Cumulus\web /var/www/domain.com/htdocs/weather
Already tried with quotation marks and without, with options "batch on" and "confirm off" and without them. Nothing happened.
Currently just run application manually, manually logging in and manually starting "keep up to date" option from application's menu. Also with "synchronize on start" "existing files only" and "including subfolders" options ticked.
What am I doing wrong?