Posted: 2012-08-14 06:42
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\
i'm using wincp portable 184.108.40.2067
thanks for your assistance
Location: Prague, Czechia
Please attach a full log file showing the problem.
To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
You can post new topics in this forum
And it's free!