Topic "Copies files between two folders on a same server."

Author Message
duff

Guest


Hello,

I'm newbie with WinScp Scripting.

I would like copies files between two folders on a same server.

Like this "COPY" /source /target

Is it possible?

Thanks!

Duff
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
There's no scripting command for this operation.
Anyway, when you use Duplicate command in GUI, all it does (with SCP/SFTP) is that if executes "cp" command on the remote side.
You can simulate that with "call" command:
call cp /source /target
With FTP this is not possible (neither in GUI).
_________________
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