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.

Options
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)

Options

Topic review

RDurham1007

Sync Issue

Here is my script

option batch on

option confirm on
open ftp://FtpUser:ftptester@localhost
synchronize remote "C:\Deploy\" "/" -criteria=both -delete
close
exit


Here is my log:
. 2013-06-14 14:46:21.371 WinSCP Version 5.1.5 (Build 3261) (OS 6.1.7601 Service Pack 1)

. 2013-06-14 14:46:21.372 Configuration: C:\Users\username\Desktop\winscp515\WinSCP.ini
. 2013-06-14 14:46:21.372 Local account: DOMAIN\rdurham
. 2013-06-14 14:46:21.372 Working directory: C:\Users\username\Desktop\winscp515
. 2013-06-14 14:46:21.372 Process ID: 11416
. 2013-06-14 14:46:21.372 Command-line: "C:\Users\username\Desktop\winscp515\WinSCP.exe" /console=515 /consoleinstance=_10264_673 "/script=sync.txt" "/log=sync.log"
. 2013-06-14 14:46:21.372 Time zone: Current: GMT-5, Standard: GMT-6, DST: GMT-5, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-06-14 14:46:21.372 Login time: Friday, June 14, 2013 2:46:21 PM
. 2013-06-14 14:46:21.372 --------------------------------------------------------------------------
. 2013-06-14 14:46:21.372 Session name: FtpUser@localhost (Ad-Hoc session)
. 2013-06-14 14:46:21.372 Host name: localhost (Port: 21)
. 2013-06-14 14:46:21.372 User name: FtpUser (Password: Yes, Key file: No)
. 2013-06-14 14:46:21.372 Tunnel: No
. 2013-06-14 14:46:21.372 Transfer Protocol: FTP
. 2013-06-14 14:46:21.372 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2013-06-14 14:46:21.372 Proxy: none
. 2013-06-14 14:46:21.372 FTP: FTPS: None; Passive: No [Force IP: A]
. 2013-06-14 14:46:21.372 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2013-06-14 14:46:21.372 Cache directory changes: Yes, Permanent: Yes
. 2013-06-14 14:46:21.372 DST mode: 1; Timezone offset: 0h 0m
. 2013-06-14 14:46:21.372 --------------------------------------------------------------------------
. 2013-06-14 14:46:21.377 Connecting to localhost ...
. 2013-06-14 14:46:21.380 Connected with localhost. Waiting for welcome message...
< 2013-06-14 14:46:21.380 220 Microsoft FTP Service
> 2013-06-14 14:46:21.380 USER FtpUser
< 2013-06-14 14:46:21.380 331 Password required for FtpUser.
> 2013-06-14 14:46:21.380 PASS *********
< 2013-06-14 14:46:21.381 230 User logged in.
> 2013-06-14 14:46:21.381 SYST
< 2013-06-14 14:46:21.381 215 Windows_NT
> 2013-06-14 14:46:21.381 FEAT
< 2013-06-14 14:46:21.381 211-Extended features supported:
< 2013-06-14 14:46:21.381  LANG EN*
< 2013-06-14 14:46:21.381  UTF8
< 2013-06-14 14:46:21.381  AUTH TLS;TLS-C;SSL;TLS-P;
< 2013-06-14 14:46:21.381  PBSZ
< 2013-06-14 14:46:21.381  PROT C;P;
< 2013-06-14 14:46:21.381  CCC
< 2013-06-14 14:46:21.381  HOST
< 2013-06-14 14:46:21.381  SIZE
< 2013-06-14 14:46:21.381  MDTM
< 2013-06-14 14:46:21.381  REST STREAM
< 2013-06-14 14:46:21.381 211 END
> 2013-06-14 14:46:21.381 OPTS UTF8 ON
< 2013-06-14 14:46:21.381 200 OPTS UTF8 command successful - UTF8 encoding now ON.
. 2013-06-14 14:46:21.381 Connected
. 2013-06-14 14:46:21.381 --------------------------------------------------------------------------
. 2013-06-14 14:46:21.381 Using FTP protocol.
. 2013-06-14 14:46:21.382 Doing startup conversation with host.
> 2013-06-14 14:46:21.382 PWD
< 2013-06-14 14:46:21.382 257 "/" is current directory.
. 2013-06-14 14:46:21.382 Getting current directory name.
. 2013-06-14 14:46:21.382 Startup conversation with host finished.
< 2013-06-14 14:46:21.382 Script: Active session: [1] FtpUser@localhost
> 2013-06-14 14:46:21.383 Script: synchronize remote "C:\Deploy\" -criteria=both -delete
< 2013-06-14 14:46:21.383 Script: Comparing...
. 2013-06-14 14:46:21.383 Collecting synchronization list for local directory 'C:\Deploy\' and remote directory '/', mode = Remote, params = 0x407 (Delete, NoConfirmation, ExistingOnly, BySize)
. 2013-06-14 14:46:21.383 Local file 'C:\Deploy\.' [2013-06-14T19:42:25.962Z] [0] excluded from synchronization
. 2013-06-14 14:46:21.383 Local file 'C:\Deploy\..' [2013-06-14T19:42:25.962Z] [0] excluded from synchronization
. 2013-06-14 14:46:21.383 Local file 'C:\Deploy\AG21' [2012-06-08T16:25:24.281Z] [0] included to synchronization
. 2013-06-14 14:46:21.383 Local file 'C:\Deploy\Applications' [2012-07-06T16:48:09.470Z] [0] included to synchronization
. 2013-06-14 14:46:21.383 Local file 'C:\Deploy\Backup BATs' [2013-04-16T17:42:49.589Z] [0] included to synchronization
. 2013-06-14 14:46:21.383 Local file 'C:\Deploy\MSBuildTest' [2012-07-02T20:39:56.649Z] [0] included to synchronization
. 2013-06-14 14:46:21.384 Local file 'C:\Deploy\Services' [2012-06-28T21:02:50.575Z] [0] included to synchronization
. 2013-06-14 14:46:21.384 Local file 'C:\Deploy\Websites' [2013-04-29T15:19:50.936Z] [0] included to synchronization
. 2013-06-14 14:46:21.384 Retrieving directory listing...
> 2013-06-14 14:46:21.384 TYPE A
< 2013-06-14 14:46:21.384 200 Type set to A.
> 2013-06-14 14:46:21.384 PORT 127,0,0,1,234,118
< 2013-06-14 14:46:21.384 200 PORT command successful.
> 2013-06-14 14:46:21.385 LIST -a
< 2013-06-14 14:46:21.385 125 Data connection already open; Transfer starting.
. 2013-06-14 14:46:21.385 <Empty directory listing>
< 2013-06-14 14:46:21.385 226 Transfer complete.
. 2013-06-14 14:46:21.385 Directory listing successful
. 2013-06-14 14:46:21.385 Retrieving directory listing...
> 2013-06-14 14:46:21.385 TYPE A
< 2013-06-14 14:46:21.385 200 Type set to A.
> 2013-06-14 14:46:21.385 PORT 127,0,0,1,234,119
< 2013-06-14 14:46:21.386 200 PORT command successful.
> 2013-06-14 14:46:21.386 LIST
< 2013-06-14 14:46:21.386 125 Data connection already open; Transfer starting.
. 2013-06-14 14:46:21.386 <Empty directory listing>
< 2013-06-14 14:46:21.386 226 Transfer complete.
. 2013-06-14 14:46:21.386 Directory listing successful
. 2013-06-14 14:46:21.386 ..;D;0;1899-12-30T06:00:00.000Z;"" [0];"" [0];---------;0
. 2013-06-14 14:46:21.386 Local file 'C:\Deploy\AG21' [2012-06-08T16:25:24.281Z] [0] is new
. 2013-06-14 14:46:21.386 Local file 'C:\Deploy\Applications' [2012-07-06T16:48:09.470Z] [0] is new
. 2013-06-14 14:46:21.386 Local file 'C:\Deploy\Backup BATs' [2013-04-16T17:42:49.589Z] [0] is new
. 2013-06-14 14:46:21.386 Local file 'C:\Deploy\MSBuildTest' [2012-07-02T20:39:56.649Z] [0] is new
. 2013-06-14 14:46:21.386 Local file 'C:\Deploy\Services' [2012-06-28T21:02:50.575Z] [0] is new
. 2013-06-14 14:46:21.386 Local file 'C:\Deploy\Websites' [2013-04-29T15:19:50.936Z] [0] is new
< 2013-06-14 14:46:21.386 Script: Synchronizing...
. 2013-06-14 14:46:21.386 Synchronizing local directory 'C:\Deploy\' with remote directory '/', params = 0x407 (Delete, NoConfirmation, ExistingOnly, BySize)
> 2013-06-14 14:46:21.386 Script: close
. 2013-06-14 14:46:21.388 Disconnected from server


Nothing is being copied to the remote FTP. Any ideas?