Topic "Filemask on synchronize local fails"

Author Message



I keep getting this error:
> 2015-11-23 11:59:26.633 Script: synchronize -filemask="|*org.pdf" local
. 2015-11-23 11:59:26.633 Script: Failed

My goal is to exclude al files ending on org.pdf. If I ommit the -filemask option everything works but I get the undesired org.pdf files. It doesn't matter what filemask I use, it always gives an error.

My WinSCP version is 5.7.6 (Build 5874).
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate log file, set Session.SessionLogPath. 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 can mark the attachment as private.
[View user's profile]

Joined: 2015-11-23
Posts: 1
Thank you very much for your reply. I solved the problem. The solution is pretty stupid Sad

I already upgraded the WinSCP installation on the server. So I knew what the version should be. When I created a complete logfile and was checking for text I wanted to hide, I noticed an much older version number 4.2.9. Strange, becaause I checked the version in de WinSCP GUI.

It turns out that someone had the great idea to put the winscp.exe with te location of the scripts that call the executable. That way it is easier to copy to other servers. The downside is that an upgrade of WinSCP won't upgfrade that file......

After copying the WinSCP file to the second location the filemask worked and the log also looked different.

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License