Topic "Synchronize - File Mask Not Ignoring Subdirectories"

Author Message
[View user's profile]

Joined: 2013-02-25
Posts: 1
Location: MD, USA

I am using the executable with command line arguments. I am running Windows 7 and simply running this command from the command prompt. I have tried everything I can think of, but I cannot seem to get the command to exclude subdirectories when syncing. The sync command works just fine and transfers the files, but then it continues on to the subdirectories, which I do not want. I looked all over the forums and tried the "filemask = "/*"" argument, but can't seem to figure it out. Here is the command I'm using. How do I get it to ignore subdirectories?

E:\ /command "open """"" "synchronize local -mirror ""-filemask=*.zip"" ""E:\Inbound\"" ""/Site/Files/""" "exit"

I'm using the latest version of WinSCP (5.1.4). The site is FTP protocol with SSL Explicit encryption. Thanks a million!
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26911
Location: Prague, Czechia
-filemask=""*.zip| */""

You can post new topics in this forum


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