Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: synchronize command looks for old remote directories

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.
mmoretti

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