Copies files between two folders on a same server.

Advertisement

duff
Guest

Copies files between two folders on a same server.

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Copies files between two folders on a same server.

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).

Reply with quote

Advertisement

You can post new topics in this forum