Topic "MV Syntax Question"

Author Message
jeffwest2
[View user's profile]

Joined: 2014-09-24
Posts: 2
Location: England
I am using this

Code:
 winscp.com /Command "Option batch abort" "open PO_LifeInsurance" "mv "/users/3 Months Retention/Post Office/POL_Echo/From Rapp/LIHL*.csv" "/users/3 Months Retention/Post Office/POL_Echo/From Rapp/Processed/Life/*.*" )


But the batch log is telling me that I have a missing parameter, can't work out what I am missing
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Should be:

winscp.com /Command "Option batch abort" "open PO_LifeInsurance" "mv ""/users/3 Months Retention/Post Office/POL_Echo/From Rapp/LIHL*.csv"" ""/users/3 Months Retention/Post Office/POL_Echo/From Rapp/Processed/Life/*.*"""

See http://winscp.net/eng/docs/commandline#syntax
_________________
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