Sync is deleting on the sFTP Side.

Advertisement

zebra105s
Joined:
Posts:
2
Location:
Jonesboro AR

Sync is deleting on the sFTP Side.

I'm trying to copy files that are new from an sFTP site. We also send files and that part is working great. The problem is when I attempt to sync all of them down to our drive. It copies them, then deletes them (including the new ones I just sent) from the remote Server.

I need all of them to stay on the remote server, I've tried "Both" on the sync too, it deletes them as well. Grr....

Any ideas?! Thanks!
Tim

Running 5.1.7 Build 3446 on Win7 Pro 32 Bit.

Here's the command line...in the batch file...
"C:\Program Files\WinSCP\WinSCP.com" /script=f:\FTP_Sync\IntradoReply.txt

I know the server is in another Time zone an hour past mine. I added the size criteria so the timestamps would not be an issue. Normally they would be making the remote files, I'm using test files now, all of them made here on this side.

The Script,

option batch on
option confirm off
open rttrar@connect2.intrado.com
synchronize local -mirror -criteria=size F:\FTP_Sync\Intrado\Reply /rttrar
close
exit

And the log....

. 2013-12-02 17:24:29.501 --------------------------------------------------------------------------
. 2013-12-02 17:24:29.501 WinSCP Version 5.1.7 (Build 3446) (OS 6.1.7601 Service Pack 1)
. 2013-12-02 17:24:29.501 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2013-12-02 17:24:29.502 Local account: RITTERNET\tim.hart
. 2013-12-02 17:24:29.502 Working directory: F:\FTP_Sync
. 2013-12-02 17:24:29.502 Process ID: 7580
. 2013-12-02 17:24:29.502 Command-line: "C:\Program Files\WinSCP\WinSCP.exe" /console=517 /consoleinstance=_1548_622 "/script=f:\FTP_Sync\IntradoSend.txt"
. 2013-12-02 17:24:29.502 Time zone: Current: GMT-6, Standard: GMT-6, DST: GMT-5, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-12-02 17:24:29.502 Login time: Monday, December 02, 2013 5:24:29 PM
. 2013-12-02 17:24:29.502 --------------------------------------------------------------------------
. 2013-12-02 17:24:29.502 Session name: rttrar@connect2.intrado.com (Stored session)
. 2013-12-02 17:24:29.502 Host name: connect2.intrado.com (Port: 10022)
. 2013-12-02 17:24:29.502 User name: rttrar (Password: No, Key file: Yes)
. 2013-12-02 17:24:29.502 Tunnel: No
. 2013-12-02 17:24:29.502 Transfer Protocol: SFTP (SCP)
. 2013-12-02 17:24:29.502 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2013-12-02 17:24:29.502 Proxy: none
. 2013-12-02 17:24:29.502 SSH protocol version: 2; Compression: No
. 2013-12-02 17:24:29.502 Bypass authentication: No
. 2013-12-02 17:24:29.502 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2013-12-02 17:24:29.502 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2013-12-02 17:24:29.502 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2013-12-02 17:24:29.502 Return code variable: Autodetect; Lookup user groups: A
. 2013-12-02 17:24:29.502 Shell: default
. 2013-12-02 17:24:29.502 EOL: 0, UTF: 2
. 2013-12-02 17:24:29.502 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2013-12-02 17:24:29.502 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2013-12-02 17:24:29.502 SFTP Bugs: A,A
. 2013-12-02 17:24:29.502 SFTP Server: default
. 2013-12-02 17:24:29.502 Local directory: f:\FTP_Sync\Intrado\, Remote directory: /rttrar, Update: Yes, Cache: Yes
. 2013-12-02 17:24:29.502 Cache directory changes: Yes, Permanent: Yes
. 2013-12-02 17:24:29.502 DST mode: 1; Timezone offset: 0h 0m
. 2013-12-02 17:24:29.502 --------------------------------------------------------------------------
. 2013-12-02 17:24:29.503 Looking up host "connect2.intrado.com"
. 2013-12-02 17:24:29.508 Connecting to 209.108.197.53 port 10022
. 2013-12-02 17:24:29.629 Server version: SSH-2.0-Connect:Enterprise_UNIX_2.4.03
. 2013-12-02 17:24:29.629 Using SSH protocol version 2
. 2013-12-02 17:24:29.629 We claim version: SSH-2.0-WinSCP_release_5.1.7
. 2013-12-02 17:24:29.683 Doing Diffie-Hellman group exchange
. 2013-12-02 17:24:29.821 Doing Diffie-Hellman key exchange with hash SHA-1
. 2013-12-02 17:24:30.307 Verifying host key rsa2 0x23,0xa97c08b19e1e8725 1af0c6851fca77e7 9b572ba058fc487e cce58fc23eab8a19 0ea19c6bc4cc1383 5640b2740c86062d 2b1366979ffcf917 6a5a49d22b091d9e 80be963d9247e69d 7b55ea9074981e9d b33cc0ff22d19d17 80306b3298921b23 97cfce71380ffc30 6d18934c1df1010b f9f7d058dd1a1a24 49f58f2b85eca7d9 with fingerprint ssh-rsa 1024 df:c9:e2:93:d2:93:21:6a:a3:62:e1:93:9a:c1:ff:55
. 2013-12-02 17:24:30.307 Host key matches cached key
. 2013-12-02 17:24:30.307 Host key fingerprint is:
. 2013-12-02 17:24:30.307 ssh-rsa 1024 df:c9:e2:93:d2:93:21:6a:a3:62:e1:93:9a:c1:ff:55
. 2013-12-02 17:24:30.307 Initialised AES-256 CBC client->server encryption
. 2013-12-02 17:24:30.307 Initialised HMAC-SHA1 client->server MAC algorithm
. 2013-12-02 17:24:30.307 Initialised AES-256 CBC server->client encryption
. 2013-12-02 17:24:30.307 Initialised HMAC-SHA1 server->client MAC algorithm
. 2013-12-02 17:24:30.444 Reading private key file "C:\Users\tim.hart\Dropbox\OSS\Intrado\SFtp Key\PrivateKeyNoPW.ppk"
! 2013-12-02 17:24:30.445 Using username "rttrar".
. 2013-12-02 17:24:30.495 Offered public key
. 2013-12-02 17:24:30.551 Offer of public key accepted
! 2013-12-02 17:24:30.551 Authenticating with public key "rsa-key-20131118"
. 2013-12-02 17:24:30.586 Sent public key signature
. 2013-12-02 17:24:30.643 Access granted
. 2013-12-02 17:24:30.693 Opened channel for session
. 2013-12-02 17:24:30.835 Started a shell/command
. 2013-12-02 17:24:30.836 --------------------------------------------------------------------------
. 2013-12-02 17:24:30.836 Using SFTP protocol.
. 2013-12-02 17:24:30.836 Doing startup conversation with host.
> 2013-12-02 17:24:30.837 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2013-12-02 17:24:30.892 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2013-12-02 17:24:30.892 SFTP version 3 negotiated.
. 2013-12-02 17:24:30.892 We believe the server has signed timestamps bug
. 2013-12-02 17:24:30.892 We will use UTF-8 strings for status messages only
. 2013-12-02 17:24:30.893 Changing directory to "/rttrar".
. 2013-12-02 17:24:30.893 Getting real path for '/rttrar'
> 2013-12-02 17:24:30.893 Type: SSH_FXP_REALPATH, Size: 16, Number: 16
< 2013-12-02 17:24:30.945 Type: SSH_FXP_NAME, Size: 35, Number: 16
. 2013-12-02 17:24:30.945 Real path is '/rttrar'
. 2013-12-02 17:24:30.945 Trying to open directory "/rttrar".
> 2013-12-02 17:24:30.945 Type: SSH_FXP_LSTAT, Size: 16, Number: 263
< 2013-12-02 17:24:31.001 Type: SSH_FXP_ATTRS, Size: 37, Number: 263
. 2013-12-02 17:24:31.001 Getting current directory name.
. 2013-12-02 17:24:31.001 Startup conversation with host finished.
< 2013-12-02 17:24:31.002 Script: Active session: [1] rttrar@connect2.intrado.com
> 2013-12-02 17:24:31.002 Script: synchronize remote -criteria=size F:\FTP_Sync\Intrado\Send /rttrar
< 2013-12-02 17:24:31.003 Script: Comparing...
. 2013-12-02 17:24:31.004 Collecting synchronization list for local directory 'F:\FTP_Sync\Intrado\Send' and remote directory '/rttrar', mode = Remote, params = 0x602 (NoConfirmation, NotByTime, BySize)
. 2013-12-02 17:24:31.005 Local file 'F:\FTP_Sync\Intrado\Send\.' [2013-12-02T23:16:56.435Z] [0] excluded from synchronization
. 2013-12-02 17:24:31.005 Local file 'F:\FTP_Sync\Intrado\Send\..' [2013-12-02T23:16:56.435Z] [0] excluded from synchronization
. 2013-12-02 17:24:31.005 Local file 'F:\FTP_Sync\Intrado\Send\Fake Test SOI.txt' [2013-12-02T23:01:26.000Z] [17] included to synchronization
. 2013-12-02 17:24:31.005 Local file 'F:\FTP_Sync\Intrado\Send\Fake Test SOI_2.txt' [2013-12-02T23:01:27.000Z] [17] included to synchronization
. 2013-12-02 17:24:31.005 Local file 'F:\FTP_Sync\Intrado\Send\Fake Test SOI_2_2.txt' [2013-12-02T23:01:27.000Z] [17] included to synchronization
. 2013-12-02 17:24:31.005 Listing directory "/rttrar".
> 2013-12-02 17:24:31.005 Type: SSH_FXP_OPENDIR, Size: 16, Number: 523
< 2013-12-02 17:24:31.054 Type: SSH_FXP_HANDLE, Size: 13, Number: 523
> 2013-12-02 17:24:31.054 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2013-12-02 17:24:31.113 Type: SSH_FXP_NAME, Size: 287, Number: 780
> 2013-12-02 17:24:31.113 Type: SSH_FXP_READDIR, Size: 13, Number: 1036
< 2013-12-02 17:24:31.164 Type: SSH_FXP_STATUS, Size: 28, Number: 1036
< 2013-12-02 17:24:31.164 Status code: 1
> 2013-12-02 17:24:31.164 Type: SSH_FXP_CLOSE, Size: 13, Number: 1284
. 2013-12-02 17:24:31.164 PerfectSOI Report.txt;-;144;2013-12-02T23:24:23.000Z;"rttrar" [6000];"40661" [1000];r--r--r--;0
. 2013-12-02 17:24:31.164 PerfectSOI Report_2.txt;-;144;2013-12-02T23:24:23.000Z;"rttrar" [6000];"37723" [1000];r--r--r--;0
. 2013-12-02 17:24:31.167 Remote file '/rttrar/PerfectSOI Report.txt' [2013-12-02T23:24:23.000Z] [144] is new
. 2013-12-02 17:24:31.167 Remote file '/rttrar/PerfectSOI Report_2.txt' [2013-12-02T23:24:23.000Z] [144] is new
. 2013-12-02 17:24:31.167 Local file 'F:\FTP_Sync\Intrado\Send\Fake Test SOI.txt' [2013-12-02T23:01:26.000Z] [17] is new
. 2013-12-02 17:24:31.167 Local file 'F:\FTP_Sync\Intrado\Send\Fake Test SOI_2.txt' [2013-12-02T23:01:27.000Z] [17] is new
. 2013-12-02 17:24:31.167 Local file 'F:\FTP_Sync\Intrado\Send\Fake Test SOI_2_2.txt' [2013-12-02T23:01:27.000Z] [17] is new
< 2013-12-02 17:24:31.167 Script: Synchronizing...
. 2013-12-02 17:24:31.168 Synchronizing local directory 'F:\FTP_Sync\Intrado\Send\' with remote directory '/rttrar/', params = 0x602 (NoConfirmation, NotByTime, BySize)
. 2013-12-02 17:24:31.168 Copying 3 files/directories to remote directory "/rttrar/"
. 2013-12-02 17:24:31.168 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: *.*
. 2013-12-02 17:24:31.168 TM: B; ClAr: No; CPS: 0; InclM:
. 2013-12-02 17:24:31.169 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2013-12-02 17:24:31.169 File: "F:\FTP_Sync\Intrado\Send\Fake Test SOI.txt"
< 2013-12-02 17:24:31.169 Script: Local 'F:\FTP_Sync\Intrado\Send' => Remote '/rttrar'
. 2013-12-02 17:24:31.170 Copying "F:\FTP_Sync\Intrado\Send\Fake Test SOI.txt" to remote directory started.
. 2013-12-02 17:24:31.170 Binary transfer mode selected.
. 2013-12-02 17:24:31.171 Opening remote file.
> 2013-12-02 17:24:31.171 Type: SSH_FXP_OPEN, Size: 50, Number: 1539
< 2013-12-02 17:24:31.214 Type: SSH_FXP_STATUS, Size: 24, Number: 1284
. 2013-12-02 17:24:31.214 Discarding reserved response
< 2013-12-02 17:24:31.266 Type: SSH_FXP_HANDLE, Size: 13, Number: 1539
> 2013-12-02 17:24:31.266 Type: SSH_FXP_WRITE, Size: 42, Number: 2054
> 2013-12-02 17:24:31.267 Type: SSH_FXP_CLOSE, Size: 13, Number: 2308
> 2013-12-02 17:24:31.267 Type: SSH_FXP_SETSTAT, Size: 46, Number: 1801
< 2013-12-02 17:24:31.325 Type: SSH_FXP_STATUS, Size: 24, Number: 2054
< 2013-12-02 17:24:31.467 Type: SSH_FXP_STATUS, Size: 39, Number: 2308
< 2013-12-02 17:24:31.467 Status code: 0
. 2013-12-02 17:24:31.467 Preserving timestamp [2013-12-02T23:01:26.000Z]
< 2013-12-02 17:24:31.467 Type: SSH_FXP_STATUS, Size: 24, Number: 1801
< 2013-12-02 17:24:31.467 Status code: 0
. 2013-12-02 17:24:31.468 File: "F:\FTP_Sync\Intrado\Send\Fake Test SOI_2.txt"
. 2013-12-02 17:24:31.470 Copying "F:\FTP_Sync\Intrado\Send\Fake Test SOI_2.txt" to remote directory started.
. 2013-12-02 17:24:31.470 Binary transfer mode selected.
. 2013-12-02 17:24:31.470 Opening remote file.
> 2013-12-02 17:24:31.470 Type: SSH_FXP_OPEN, Size: 52, Number: 2563
< 2013-12-02 17:24:31.519 Type: SSH_FXP_HANDLE, Size: 13, Number: 2563
> 2013-12-02 17:24:31.519 Type: SSH_FXP_WRITE, Size: 42, Number: 3078
> 2013-12-02 17:24:31.520 Type: SSH_FXP_CLOSE, Size: 13, Number: 3332
> 2013-12-02 17:24:31.520 Type: SSH_FXP_SETSTAT, Size: 48, Number: 2825
< 2013-12-02 17:24:31.573 Type: SSH_FXP_STATUS, Size: 24, Number: 3078
< 2013-12-02 17:24:31.706 Type: SSH_FXP_STATUS, Size: 38, Number: 3332
< 2013-12-02 17:24:31.707 Status code: 0
. 2013-12-02 17:24:31.707 Preserving timestamp [2013-12-02T23:01:27.000Z]
< 2013-12-02 17:24:31.707 Type: SSH_FXP_STATUS, Size: 24, Number: 2825
< 2013-12-02 17:24:31.707 Status code: 0
. 2013-12-02 17:24:31.707 File: "F:\FTP_Sync\Intrado\Send\Fake Test SOI_2_2.txt"
. 2013-12-02 17:24:31.709 Copying "F:\FTP_Sync\Intrado\Send\Fake Test SOI_2_2.txt" to remote directory started.
. 2013-12-02 17:24:31.709 Binary transfer mode selected.
. 2013-12-02 17:24:31.709 Opening remote file.
> 2013-12-02 17:24:31.709 Type: SSH_FXP_OPEN, Size: 54, Number: 3587
< 2013-12-02 17:24:31.758 Type: SSH_FXP_HANDLE, Size: 13, Number: 3587
> 2013-12-02 17:24:31.758 Type: SSH_FXP_WRITE, Size: 42, Number: 4102
> 2013-12-02 17:24:31.759 Type: SSH_FXP_CLOSE, Size: 13, Number: 4356
> 2013-12-02 17:24:31.759 Type: SSH_FXP_SETSTAT, Size: 50, Number: 3849
< 2013-12-02 17:24:31.818 Type: SSH_FXP_STATUS, Size: 24, Number: 4102
< 2013-12-02 17:24:31.958 Type: SSH_FXP_STATUS, Size: 38, Number: 4356
< 2013-12-02 17:24:31.958 Status code: 0
. 2013-12-02 17:24:31.958 Preserving timestamp [2013-12-02T23:01:27.000Z]
< 2013-12-02 17:24:31.958 Type: SSH_FXP_STATUS, Size: 24, Number: 3849
< 2013-12-02 17:24:31.958 Status code: 0
> 2013-12-02 17:24:31.960 Script: close
. 2013-12-02 17:24:31.960 Closing connection.
. 2013-12-02 17:24:31.960 Sending special code: 12
. 2013-12-02 17:24:31.960 Sent EOF message
. 2013-12-02 17:24:36.570 --------------------------------------------------------------------------
. 2013-12-02 17:24:36.570 WinSCP Version 5.1.7 (Build 3446) (OS 6.1.7601 Service Pack 1)
. 2013-12-02 17:24:36.570 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2013-12-02 17:24:36.571 Local account: RITTERNET\tim.hart
. 2013-12-02 17:24:36.571 Working directory: F:\FTP_Sync
. 2013-12-02 17:24:36.571 Process ID: 7536
. 2013-12-02 17:24:36.571 Command-line: "C:\Program Files\WinSCP\WinSCP.exe" /console=517 /consoleinstance=_3312_456 "/script=f:\FTP_Sync\IntradoReply.txt"
. 2013-12-02 17:24:36.571 Time zone: Current: GMT-6, Standard: GMT-6, DST: GMT-5, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-12-02 17:24:36.571 Login time: Monday, December 02, 2013 5:24:36 PM
. 2013-12-02 17:24:36.571 --------------------------------------------------------------------------
. 2013-12-02 17:24:36.571 Session name: rttrar@connect2.intrado.com (Stored session)
. 2013-12-02 17:24:36.571 Host name: connect2.intrado.com (Port: 10022)
. 2013-12-02 17:24:36.571 User name: rttrar (Password: No, Key file: Yes)
. 2013-12-02 17:24:36.571 Tunnel: No
. 2013-12-02 17:24:36.571 Transfer Protocol: SFTP (SCP)
. 2013-12-02 17:24:36.571 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2013-12-02 17:24:36.571 Proxy: none
. 2013-12-02 17:24:36.571 SSH protocol version: 2; Compression: No
. 2013-12-02 17:24:36.571 Bypass authentication: No
. 2013-12-02 17:24:36.571 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2013-12-02 17:24:36.571 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2013-12-02 17:24:36.571 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2013-12-02 17:24:36.571 Return code variable: Autodetect; Lookup user groups: A
. 2013-12-02 17:24:36.571 Shell: default
. 2013-12-02 17:24:36.571 EOL: 0, UTF: 2
. 2013-12-02 17:24:36.571 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2013-12-02 17:24:36.571 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2013-12-02 17:24:36.571 SFTP Bugs: A,A
. 2013-12-02 17:24:36.571 SFTP Server: default
. 2013-12-02 17:24:36.571 Local directory: f:\FTP_Sync\Intrado\, Remote directory: /rttrar, Update: Yes, Cache: Yes
. 2013-12-02 17:24:36.571 Cache directory changes: Yes, Permanent: Yes
. 2013-12-02 17:24:36.571 DST mode: 1; Timezone offset: 0h 0m
. 2013-12-02 17:24:36.571 --------------------------------------------------------------------------
. 2013-12-02 17:24:36.571 Looking up host "connect2.intrado.com"
. 2013-12-02 17:24:36.587 Connecting to 209.108.197.53 port 10022
. 2013-12-02 17:24:36.696 Server version: SSH-2.0-Connect:Enterprise_UNIX_2.4.03
. 2013-12-02 17:24:36.696 Using SSH protocol version 2
. 2013-12-02 17:24:36.696 We claim version: SSH-2.0-WinSCP_release_5.1.7
. 2013-12-02 17:24:36.757 Doing Diffie-Hellman group exchange
. 2013-12-02 17:24:36.897 Doing Diffie-Hellman key exchange with hash SHA-1
. 2013-12-02 17:24:37.391 Verifying host key rsa2 0x23,0xa97c08b19e1e8725 1af0c6851fca77e7 9b572ba058fc487e cce58fc23eab8a19 0ea19c6bc4cc1383 5640b2740c86062d 2b1366979ffcf917 6a5a49d22b091d9e 80be963d9247e69d 7b55ea9074981e9d b33cc0ff22d19d17 80306b3298921b23 97cfce71380ffc30 6d18934c1df1010b f9f7d058dd1a1a24 49f58f2b85eca7d9 with fingerprint ssh-rsa 1024 df:c9:e2:93:d2:93:21:6a:a3:62:e1:93:9a:c1:ff:55
. 2013-12-02 17:24:37.391 Host key matches cached key
. 2013-12-02 17:24:37.391 Host key fingerprint is:
. 2013-12-02 17:24:37.391 ssh-rsa 1024 df:c9:e2:93:d2:93:21:6a:a3:62:e1:93:9a:c1:ff:55
. 2013-12-02 17:24:37.391 Initialised AES-256 CBC client->server encryption
. 2013-12-02 17:24:37.391 Initialised HMAC-SHA1 client->server MAC algorithm
. 2013-12-02 17:24:37.391 Initialised AES-256 CBC server->client encryption
. 2013-12-02 17:24:37.391 Initialised HMAC-SHA1 server->client MAC algorithm
. 2013-12-02 17:24:37.524 Reading private key file "C:\Users\tim.hart\Dropbox\OSS\Intrado\SFtp Key\PrivateKeyNoPW.ppk"
! 2013-12-02 17:24:37.525 Using username "rttrar".
. 2013-12-02 17:24:37.573 Offered public key
. 2013-12-02 17:24:37.624 Offer of public key accepted
! 2013-12-02 17:24:37.625 Authenticating with public key "rsa-key-20131118"
. 2013-12-02 17:24:37.672 Sent public key signature
. 2013-12-02 17:24:37.723 Access granted
. 2013-12-02 17:24:37.771 Opened channel for session
. 2013-12-02 17:24:37.910 Started a shell/command
. 2013-12-02 17:24:37.911 --------------------------------------------------------------------------
. 2013-12-02 17:24:37.911 Using SFTP protocol.
. 2013-12-02 17:24:37.911 Doing startup conversation with host.
> 2013-12-02 17:24:37.912 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2013-12-02 17:24:37.966 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2013-12-02 17:24:37.966 SFTP version 3 negotiated.
. 2013-12-02 17:24:37.966 We believe the server has signed timestamps bug
. 2013-12-02 17:24:37.966 We will use UTF-8 strings for status messages only
. 2013-12-02 17:24:37.966 Changing directory to "/rttrar".
. 2013-12-02 17:24:37.966 Getting real path for '/rttrar'
> 2013-12-02 17:24:37.966 Type: SSH_FXP_REALPATH, Size: 16, Number: 16
< 2013-12-02 17:24:38.014 Type: SSH_FXP_NAME, Size: 35, Number: 16
. 2013-12-02 17:24:38.014 Real path is '/rttrar'
. 2013-12-02 17:24:38.014 Trying to open directory "/rttrar".
> 2013-12-02 17:24:38.014 Type: SSH_FXP_LSTAT, Size: 16, Number: 263
< 2013-12-02 17:24:38.065 Type: SSH_FXP_ATTRS, Size: 37, Number: 263
. 2013-12-02 17:24:38.065 Getting current directory name.
. 2013-12-02 17:24:38.065 Startup conversation with host finished.
< 2013-12-02 17:24:38.066 Script: Active session: [1] rttrar@connect2.intrado.com
> 2013-12-02 17:24:38.067 Script: synchronize local -mirror -criteria=size F:\FTP_Sync\Intrado\Reply /rttrar
< 2013-12-02 17:24:38.067 Script: Comparing...
. 2013-12-02 17:24:38.068 Collecting synchronization list for local directory 'F:\FTP_Sync\Intrado\Reply' and remote directory '/rttrar', mode = Local, params = 0x1602 (NoConfirmation, NotByTime, BySize, Mirror)
. 2013-12-02 17:24:38.069 Local file 'F:\FTP_Sync\Intrado\Reply\.' [2013-12-02T23:24:16.206Z] [0] excluded from synchronization
. 2013-12-02 17:24:38.069 Local file 'F:\FTP_Sync\Intrado\Reply\..' [2013-12-02T23:24:16.206Z] [0] excluded from synchronization
. 2013-12-02 17:24:38.070 Listing directory "/rttrar".
> 2013-12-02 17:24:38.070 Type: SSH_FXP_OPENDIR, Size: 16, Number: 523
< 2013-12-02 17:24:38.117 Type: SSH_FXP_HANDLE, Size: 13, Number: 523
> 2013-12-02 17:24:38.117 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2013-12-02 17:24:38.176 Type: SSH_FXP_NAME, Size: 686, Number: 780
> 2013-12-02 17:24:38.176 Type: SSH_FXP_READDIR, Size: 13, Number: 1036
< 2013-12-02 17:24:38.223 Type: SSH_FXP_STATUS, Size: 28, Number: 1036
< 2013-12-02 17:24:38.223 Status code: 1
> 2013-12-02 17:24:38.223 Type: SSH_FXP_CLOSE, Size: 13, Number: 1284
. 2013-12-02 17:24:38.223 PerfectSOI Report.txt;-;144;2013-12-02T23:24:23.000Z;"rttrar" [6000];"40661" [1000];r--r--r--;0
. 2013-12-02 17:24:38.223 PerfectSOI Report_2.txt;-;144;2013-12-02T23:24:23.000Z;"rttrar" [6000];"37723" [1000];r--r--r--;0
. 2013-12-02 17:24:38.223 Fake Test SOI.txt;-;17;2013-12-02T23:24:31.000Z;"rttrar" [6000];"167499" [1000];r--r--r--;0
. 2013-12-02 17:24:38.223 Fake Test SOI_2.txt;-;17;2013-12-02T23:24:31.000Z;"rttrar" [6000];"10985" [1000];r--r--r--;0
. 2013-12-02 17:24:38.223 Fake Test SOI_2_2.txt;-;17;2013-12-02T23:24:32.000Z;"rttrar" [6000];"30456" [1000];r--r--r--;0
. 2013-12-02 17:24:38.225 Remote file '/rttrar/PerfectSOI Report.txt' [2013-12-02T23:24:23.000Z] [144] is new
. 2013-12-02 17:24:38.225 Remote file '/rttrar/PerfectSOI Report_2.txt' [2013-12-02T23:24:23.000Z] [144] is new
. 2013-12-02 17:24:38.225 Remote file '/rttrar/Fake Test SOI.txt' [2013-12-02T23:24:31.000Z] [17] is new
. 2013-12-02 17:24:38.225 Remote file '/rttrar/Fake Test SOI_2.txt' [2013-12-02T23:24:31.000Z] [17] is new
. 2013-12-02 17:24:38.225 Remote file '/rttrar/Fake Test SOI_2_2.txt' [2013-12-02T23:24:32.000Z] [17] is new
< 2013-12-02 17:24:38.225 Script: Synchronizing...
. 2013-12-02 17:24:38.226 Synchronizing local directory 'F:\FTP_Sync\Intrado\Reply\' with remote directory '/rttrar/', params = 0x1602 (NoConfirmation, NotByTime, BySize, Mirror)
. 2013-12-02 17:24:38.226 File: "/rttrar/Fake Test SOI.txt"
< 2013-12-02 17:24:38.226 Script: Local 'F:\FTP_Sync\Intrado\Reply' <= Remote '/rttrar'
. 2013-12-02 17:24:38.226 Copying "/rttrar/Fake Test SOI.txt" to local directory started.
. 2013-12-02 17:24:38.226 Binary transfer mode selected.
. 2013-12-02 17:24:38.226 Opening remote file.
> 2013-12-02 17:24:38.226 Type: SSH_FXP_OPEN, Size: 42, Number: 1539
< 2013-12-02 17:24:38.271 Type: SSH_FXP_STATUS, Size: 24, Number: 1284
. 2013-12-02 17:24:38.271 Discarding reserved response
< 2013-12-02 17:24:38.319 Type: SSH_FXP_HANDLE, Size: 13, Number: 1539
> 2013-12-02 17:24:38.319 Type: SSH_FXP_FSTAT, Size: 13, Number: 1800
< 2013-12-02 17:24:38.366 Type: SSH_FXP_STATUS, Size: 38, Number: 1800
> 2013-12-02 17:24:38.367 Type: SSH_FXP_READ, Size: 25, Number: 2053
< 2013-12-02 17:24:38.508 Status code: 1
. 2013-12-02 17:24:38.508 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2013-12-02 17:24:38.509 Type: SSH_FXP_CLOSE, Size: 13, Number: 2564
. 2013-12-02 17:24:38.509 Preserving timestamp [2013-12-02T23:24:31.000Z]
. 2013-12-02 17:24:38.512 File: "/rttrar/Fake Test SOI_2.txt"
. 2013-12-02 17:24:38.513 Copying "/rttrar/Fake Test SOI_2.txt" to local directory started.
. 2013-12-02 17:24:38.513 Binary transfer mode selected.
. 2013-12-02 17:24:38.513 Opening remote file.
> 2013-12-02 17:24:38.513 Type: SSH_FXP_OPEN, Size: 44, Number: 2819
< 2013-12-02 17:24:38.556 Type: SSH_FXP_STATUS, Size: 24, Number: 2564
. 2013-12-02 17:24:38.556 Discarding reserved response
< 2013-12-02 17:24:38.602 Type: SSH_FXP_HANDLE, Size: 13, Number: 2819
> 2013-12-02 17:24:38.602 Type: SSH_FXP_FSTAT, Size: 13, Number: 3080
< 2013-12-02 17:24:38.649 Type: SSH_FXP_STATUS, Size: 38, Number: 3080
> 2013-12-02 17:24:38.651 Type: SSH_FXP_READ, Size: 25, Number: 3333
< 2013-12-02 17:24:38.788 Status code: 1
. 2013-12-02 17:24:38.788 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2013-12-02 17:24:38.788 Type: SSH_FXP_CLOSE, Size: 13, Number: 3844
. 2013-12-02 17:24:38.788 Preserving timestamp [2013-12-02T23:24:31.000Z]
. 2013-12-02 17:24:38.791 File: "/rttrar/Fake Test SOI_2_2.txt"
. 2013-12-02 17:24:38.791 Copying "/rttrar/Fake Test SOI_2_2.txt" to local directory started.
. 2013-12-02 17:24:38.791 Binary transfer mode selected.
. 2013-12-02 17:24:38.791 Opening remote file.
> 2013-12-02 17:24:38.791 Type: SSH_FXP_OPEN, Size: 46, Number: 4099
< 2013-12-02 17:24:38.835 Type: SSH_FXP_STATUS, Size: 24, Number: 3844
. 2013-12-02 17:24:38.835 Discarding reserved response
< 2013-12-02 17:24:38.882 Type: SSH_FXP_HANDLE, Size: 13, Number: 4099
> 2013-12-02 17:24:38.882 Type: SSH_FXP_FSTAT, Size: 13, Number: 4360
< 2013-12-02 17:24:38.930 Type: SSH_FXP_STATUS, Size: 38, Number: 4360
> 2013-12-02 17:24:38.931 Type: SSH_FXP_READ, Size: 25, Number: 4613
< 2013-12-02 17:24:39.069 Status code: 1
. 2013-12-02 17:24:39.069 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2013-12-02 17:24:39.069 Type: SSH_FXP_CLOSE, Size: 13, Number: 5124
. 2013-12-02 17:24:39.069 Preserving timestamp [2013-12-02T23:24:32.000Z]
. 2013-12-02 17:24:39.072 File: "/rttrar/PerfectSOI Report.txt"
. 2013-12-02 17:24:39.073 Copying "/rttrar/PerfectSOI Report.txt" to local directory started.
. 2013-12-02 17:24:39.073 Binary transfer mode selected.
. 2013-12-02 17:24:39.073 Opening remote file.
> 2013-12-02 17:24:39.073 Type: SSH_FXP_OPEN, Size: 46, Number: 5379
< 2013-12-02 17:24:39.116 Type: SSH_FXP_STATUS, Size: 24, Number: 5124
. 2013-12-02 17:24:39.116 Discarding reserved response
< 2013-12-02 17:24:39.163 Type: SSH_FXP_HANDLE, Size: 13, Number: 5379
> 2013-12-02 17:24:39.163 Type: SSH_FXP_FSTAT, Size: 13, Number: 5640
< 2013-12-02 17:24:39.210 Type: SSH_FXP_STATUS, Size: 38, Number: 5640
> 2013-12-02 17:24:39.213 Type: SSH_FXP_READ, Size: 25, Number: 5893
< 2013-12-02 17:24:39.352 Status code: 1
. 2013-12-02 17:24:39.352 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2013-12-02 17:24:39.352 Type: SSH_FXP_CLOSE, Size: 13, Number: 6404
. 2013-12-02 17:24:39.352 Preserving timestamp [2013-12-02T23:24:23.000Z]
. 2013-12-02 17:24:39.354 File: "/rttrar/PerfectSOI Report_2.txt"
. 2013-12-02 17:24:39.354 Copying "/rttrar/PerfectSOI Report_2.txt" to local directory started.
. 2013-12-02 17:24:39.354 Binary transfer mode selected.
. 2013-12-02 17:24:39.354 Opening remote file.
> 2013-12-02 17:24:39.354 Type: SSH_FXP_OPEN, Size: 48, Number: 6659
< 2013-12-02 17:24:39.400 Type: SSH_FXP_STATUS, Size: 24, Number: 6404
. 2013-12-02 17:24:39.400 Discarding reserved response
< 2013-12-02 17:24:39.447 Type: SSH_FXP_HANDLE, Size: 13, Number: 6659
> 2013-12-02 17:24:39.447 Type: SSH_FXP_FSTAT, Size: 13, Number: 6920
< 2013-12-02 17:24:39.494 Type: SSH_FXP_STATUS, Size: 38, Number: 6920
> 2013-12-02 17:24:39.495 Type: SSH_FXP_READ, Size: 25, Number: 7173
< 2013-12-02 17:24:39.634 Status code: 1
. 2013-12-02 17:24:39.634 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2013-12-02 17:24:39.634 Type: SSH_FXP_CLOSE, Size: 13, Number: 7684
. 2013-12-02 17:24:39.634 Preserving timestamp [2013-12-02T23:24:23.000Z]
> 2013-12-02 17:24:39.646 Script: close
. 2013-12-02 17:24:39.646 Closing connection.
. 2013-12-02 17:24:39.646 Sending special code: 12
. 2013-12-02 17:24:39.646 Sent EOF message

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Sync is deleting on the sFTP Side.

There's no sign of any deleting in the log. Also WinSCP never deletes anything without -delete switch. And it never deletes anything in the both mode. It has to be some other process that deletes your files. It can possibly be some process on the server itself (after it sees that the file was downloaded)

Reply with quote

zebra105s
Joined:
Posts:
2
Location:
Jonesboro AR

Update!

I agree, everything looked good on the log and commands used. That's what made this seem so ODD!

I contacted the vendor and it turns out their system will move the files once they are "touched". WinSCP is working great as expected!

The lesson to share here is, if your files are mysteriously disappearing, it might actually be by design on the remote server!! :)

Thank you for your time and help!

Tim

Reply with quote

Advertisement

You can post new topics in this forum