Re: Collecting synchronization list for local directory - System Error. Code: 123.
Found it...
had to remove *.* after the local folder location
had to remove *.* after the local folder location
Hello,
I'm creating a windows task to synchronize a folder and I'm getting an error.
WinSCP Version 5.7.7 (Build 6257) (OS 6.3.9600 - Windows Server 2012 R2 Standard)
....
. 2016-04-06 13:23:25.081 Getting current directory name.
. 2016-04-06 13:23:25.081 Startup conversation with host finished.
< 2016-04-06 13:23:25.081 Script: Active session: [1] username@ftp.mydomain.com
> 2016-04-06 13:23:25.081 Script: synchronize remote c:\Backups\*.* /backups/
< 2016-04-06 13:23:25.082 Script: Comparing...
. 2016-04-06 13:23:25.082 Collecting synchronization list for local directory 'c:\Backups\*.*' and remote directory '/backups/', mode = Remote, params = 0x2 (NoConfirmation)
* 2016-04-06 13:23:25.082 (EOSE/xtException) Error retrieving file list for "c:\Backups\*.*\*.*".
* 2016-04-06 13:23:25.082 System Error. Code: 123.
* 2016-04-06 13:23:25.082 The filename, directory name, or volume label syntax is incorrect
. 2016-04-06 13:23:25.082 Asking user:
. 2016-04-06 13:23:25.082 Error listing directory 'c:\Backups\*.*'. ("Error retrieving file list for ""c:\Backups\*.*\*.*"".","System Error. Code: 123.","The filename, directory name, or volume label syntax is incorrect")
< 2016-04-06 13:23:25.082 Script: Error listing directory 'c:\Backups\*.*'.
< 2016-04-06 13:23:25.082 Script: Error retrieving file list for "c:\Backups\*.*\*.*".
< 2016-04-06 13:23:25.082 System Error. Code: 123.
< 2016-04-06 13:23:25.082 The filename, directory name, or volume label syntax is incorrect
< 2016-04-06 13:23:25.083 Script: Error listing directory 'c:\Backups\*.*'.
< 2016-04-06 13:23:25.083 Script: Error retrieving file list for "c:\Backups\*.*\*.*".
< 2016-04-06 13:23:25.083 System Error. Code: 123.
< 2016-04-06 13:23:25.083 The filename, directory name, or volume label syntax is incorrect
. 2016-04-06 13:23:25.083 Script: Failed
. 2016-04-06 13:23:25.083 Script: Exit code: 1
. 2016-04-06 13:23:25.083 Disconnected from server
Do understand why?