Topic "synchronize command looks for old remote directories"

Author Message
mmoretti

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
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.

_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License