Synchronization Error

Advertisement

menik24
Joined:
Posts:
1

I am trying to synchronize my Windows Local folder to a Unix remote folder. Since I am only interested in fresh incoming files on the remote folder I have added a timestamp-10 seconds to ensure for that. Files can be in any subfolder of the set remote folder. WinSCP fails to create error listing and to change (CWD) working directory and look in recursively in subfolders. Please find below the associated log. Thanks!

. 2018-01-23 12:55:48.048 --------------------------------------------------------------------------
. 2018-01-23 12:55:48.048 WinSCP Version 5.12.1 beta (Build 8076) (OS 6.1.7601 Service Pack 1 - Windows 7 Professional)
. 2018-01-23 12:55:48.048 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2018-01-23 12:55:48.048 Log level: Normal
. 2018-01-23 12:55:48.048 Local account: Dell-PC\xbmc
. 2018-01-23 12:55:48.048 Working directory: C:\Program Files\WinSCP
. 2018-01-23 12:55:48.048 Process ID: 9700
. 2018-01-23 12:55:48.048 Command-line: "C:\Program Files\WinSCP\WinSCP.exe" /console=5.12.1 /consoleinstance=_6424_547 "/script=C:\Users\xbmc\Desktop\script.txt" "/log=C:\Users\xbmc\Desktop\winscp.log" "/loglevel=0"
. 2018-01-23 12:55:48.048 Time zone: Current: GMT+2, Standard: GMT+2 (GTB Standard Time), DST: GMT+3 (GTB Daylight Time), DST Start: 25/3/2018, DST End: 28/10/2018
. 2018-01-23 12:55:48.048 Login time: Τρίτη, 23 Ιανουάριος 2018 12:55:48 μμ
. 2018-01-23 12:55:48.048 --------------------------------------------------------------------------
. 2018-01-23 12:55:48.048 Script: Retrospectively logging previous script records:
> 2018-01-23 12:55:48.048 Script: option batch abort
< 2018-01-23 12:55:48.048 Script: batch abort
> 2018-01-23 12:55:48.048 Script: option confirm off
< 2018-01-23 12:55:48.048 Script: confirm off
> 2018-01-23 12:55:48.048 Script: open ftp://insite:***@10.227.15.236
. 2018-01-23 12:55:48.048 --------------------------------------------------------------------------
. 2018-01-23 12:55:48.048 Session name: insite@10.227.15.236 (Ad-Hoc site)
. 2018-01-23 12:55:48.048 Host name: 10.227.15.236 (Port: 21)
. 2018-01-23 12:55:48.048 User name: insite (Password: Yes, Key file: No, Passphrase: No)
. 2018-01-23 12:55:48.048 Transfer Protocol: FTP
. 2018-01-23 12:55:48.048 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2018-01-23 12:55:48.048 Disable Nagle: No
. 2018-01-23 12:55:48.048 Proxy: None
. 2018-01-23 12:55:48.048 Send buffer: 262144
. 2018-01-23 12:55:48.048 UTF: Auto
. 2018-01-23 12:55:48.048 FTPS: None [Client certificate: No]
. 2018-01-23 12:55:48.048 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2018-01-23 12:55:48.048 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2018-01-23 12:55:48.048 Cache directory changes: Yes, Permanent: Yes
. 2018-01-23 12:55:48.048 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2018-01-23 12:55:48.048 Timezone offset: 0h 0m
. 2018-01-23 12:55:48.048 --------------------------------------------------------------------------
. 2018-01-23 12:55:48.048 Connecting to 10.227.15.236 ...
. 2018-01-23 12:55:48.048 Connected with 10.227.15.236. Waiting for welcome message...
< 2018-01-23 12:55:48.048 220 (vsFTPd 2.0.3)
> 2018-01-23 12:55:48.048 USER insite
< 2018-01-23 12:55:48.048 331 Please specify the password.
> 2018-01-23 12:55:48.048 PASS ******
< 2018-01-23 12:55:48.064 230 Login successful.
> 2018-01-23 12:55:48.064 SYST
< 2018-01-23 12:55:48.064 215 UNIX Type: L8
> 2018-01-23 12:55:48.064 FEAT
< 2018-01-23 12:55:48.064 211-Features:
< 2018-01-23 12:55:48.064 EPRT
< 2018-01-23 12:55:48.064 EPSV
< 2018-01-23 12:55:48.064 MDTM
< 2018-01-23 12:55:48.064 PASV
< 2018-01-23 12:55:48.064 REST STREAM
< 2018-01-23 12:55:48.064 SIZE
< 2018-01-23 12:55:48.064 TVFS
< 2018-01-23 12:55:48.064 211 End
. 2018-01-23 12:55:48.064 Connected
. 2018-01-23 12:55:48.064 --------------------------------------------------------------------------
. 2018-01-23 12:55:48.064 Using FTP protocol.
. 2018-01-23 12:55:48.064 Doing startup conversation with host.
> 2018-01-23 12:55:48.064 PWD
< 2018-01-23 12:55:48.064 257 "/magichome/export/home/insite"
. 2018-01-23 12:55:48.064 Getting current directory name.
. 2018-01-23 12:55:48.064 Startup conversation with host finished.
< 2018-01-23 12:55:48.064 Script: Active session: [1] insite@10.227.15.236
> 2018-01-23 12:55:48.064 Script: synchronize local C:\Users\xbmc\Desktop\test /database/PixelData/*.*/ -filemask=">2018-01-23[ 12:55[:38]]"
< 2018-01-23 12:55:48.064 Script: Comparing...
. 2018-01-23 12:55:48.064 Collecting synchronization list for local directory 'C:\Users\xbmc\Desktop\test' and remote directory '/database/PixelData/*.*/', mode = Local, params = 0x2 (NoConfirmation), file mask = '>2018-01-23[ 12:55[:38]]'
. 2018-01-23 12:55:48.064 Local file 'C:\Users\xbmc\Desktop\test\.' [2018-01-23T10:41:43.779Z] [0] excluded from synchronization
. 2018-01-23 12:55:48.064 Local file 'C:\Users\xbmc\Desktop\test\..' [2018-01-23T10:41:43.779Z] [0] excluded from synchronization
. 2018-01-23 12:55:48.064 Retrieving directory listing...
> 2018-01-23 12:55:48.064 CWD /database/PixelData/*.*
< 2018-01-23 12:55:48.064 550 Failed to change directory.
. 2018-01-23 12:55:48.064 Could not retrieve directory listing
. 2018-01-23 12:55:48.064 LIST with -a failed, will try pure LIST
. 2018-01-23 12:55:48.064 Retrieving directory listing...
> 2018-01-23 12:55:48.064 CWD /database/PixelData/*.*
< 2018-01-23 12:55:48.064 550 Failed to change directory.
. 2018-01-23 12:55:48.064 Could not retrieve directory listing
. 2018-01-23 12:55:48.064 Asking user:
. 2018-01-23 12:55:48.064 Error listing directory '/database/PixelData/*.*'. ("Could not retrieve directory listing","Failed to change directory.")
< 2018-01-23 12:55:48.064 Script: Error listing directory '/database/PixelData/*.*'.
< 2018-01-23 12:55:48.064 Script: Could not retrieve directory listing

< 2018-01-23 12:55:48.064 Failed to change directory.
. 2018-01-23 12:55:48.064 Script: Failed
. 2018-01-23 12:55:48.064 Script: Exit code: 1
. 2018-01-23 12:55:48.064 Disconnected from server

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Remove the /*.*/ and also the square brackets (if you really have them there):

synchronize local C:\Users\xbmc\Desktop\test /database/PixelData -filemask=">2018-01-23 12:55:38"

Reply with quote

Advertisement

You can post new topics in this forum