Topic "Transfer more than 1 file type to different folders"

Author Message
[View user's profile]

Joined: 2014-09-24
Posts: 2
Location: England
Trying to move two separate files to two folders which are supposed to be the latest ones

In one file I have the following

Code: /Command "Option batch abort" "open PO_HomeInsurance" "get HIHL*.csv <1D\" "Close" "Exit"

The other is

Code: /Command "Option batch abort" "open PO_LifeInsurance" "get LIHL*.csv <1D\" "Close" "Exit"

However this doesn't work, the only way this works is if I add
LIHL*.csv <1D
into the Transfer setting file mask, but this is global so it isn't what I want.

What am I doing wrong??
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
Remove the space before <1D. Also I think the backslash should not be there.
Code: /Command "Option batch abort" "open PO_HomeInsurance" "get HIHL*.csv<1D" "Close" "Exit"

Or add double double-quotes around the whole mask:
Code: /Command "Option batch abort" "open PO_HomeInsurance" "get ""HIHL*.csv <1D""" "Close" "Exit"

Martin Prikryl

Cheers for that, will give it a go.

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