synchronize command looks for old remote directories
Hi
I have an issue with the synchronize command. Each day when i run a script that synchronizes a local directory with the remote directory, it looks for directories which don't exist. The remote directory maintains folders of files, with the folder name being the date. each day the remote server creates a new folder with the current date and deletes the previous days folders.
winscp seems to remember the that the old folders exist and tries to transfer files. in my logs
Tue Aug 14 12:38:48 2012 . 2012-08-08 05:54:33.132 File: "/cygdrive/e/Backups/MIBUpload/7020/MLK-7020-003/7020Job4_MLK_7020_003_1_2012_08_07_20_01_10_EST/APPL.CFG"
Tue Aug 14 12:38:48 2012 . 2012-08-08 05:54:33.134 Copying "/cygdrive/e/Backups/MIBUpload/7020/MLK-7020-003/7020Job4_MLK_7020_003_1_2012_08_07_20_01_10_EST/APPL.CFG" to local directory started.
and it will also try to sync MLK_7020_003_1_2012_08_08 MLK_7020_003_1_2012_08_09 etc etc.
But when logging via the gui these folders and files don't exist. I'm using a script executing:
option batch abort
synchronize local -delete \"E:\\SDH-FMX Configurations\\SDH-MIB-BACKUP\" /cygdrive/e/Backups/MIBUpload\
exit
i'm using wincp portable 4.3.9.1817
thanks for your assistance
Michael
I have an issue with the synchronize command. Each day when i run a script that synchronizes a local directory with the remote directory, it looks for directories which don't exist. The remote directory maintains folders of files, with the folder name being the date. each day the remote server creates a new folder with the current date and deletes the previous days folders.
winscp seems to remember the that the old folders exist and tries to transfer files. in my logs
Tue Aug 14 12:38:48 2012 . 2012-08-08 05:54:33.132 File: "/cygdrive/e/Backups/MIBUpload/7020/MLK-7020-003/7020Job4_MLK_7020_003_1_2012_08_07_20_01_10_EST/APPL.CFG"
Tue Aug 14 12:38:48 2012 . 2012-08-08 05:54:33.134 Copying "/cygdrive/e/Backups/MIBUpload/7020/MLK-7020-003/7020Job4_MLK_7020_003_1_2012_08_07_20_01_10_EST/APPL.CFG" to local directory started.
and it will also try to sync MLK_7020_003_1_2012_08_08 MLK_7020_003_1_2012_08_09 etc etc.
But when logging via the gui these folders and files don't exist. I'm using a script executing:
option batch abort
synchronize local -delete \"E:\\SDH-FMX Configurations\\SDH-MIB-BACKUP\" /cygdrive/e/Backups/MIBUpload\
exit
i'm using wincp portable 4.3.9.1817
thanks for your assistance
Michael