Topic "How to use customer command ?"

Author Message
Gill

Guest


Hi, everyone:
I have a problem.
What's customer command and how to use ?
I wanna put some files to remote server,
If sftp files ok, move these files to another folder in windows client.
But it can't work about customer command.
For example use !mv or !cp.
how can I do ?
It can't recognize about an exclamation mark.
I'm very confuse about this.
please tell me if you have any answer.
Thanks a lot of.

Gill
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
To learn how to use custom commands you may check the pre-defined example commands.

But if you want to automate file transfers you are probably looking for scripting feature.
_________________
Martin Prikryl
Gill

Guest


Very sorry!!
I describe my question not clear !
I use winscp3.com in windows BAT file.
It can work if I use "!" command.
How can I use "!" command in winscp3.com or command line model?
Is it feasible ?

prikryl wrote:
To learn how to use custom commands you may check the pre-defined example commands.

But if you want to automate file transfers you are probably looking for scripting feature.
Gill

Guest


Sorry, I have typing error in here.
「It can't work if I use "!" command.」

Gill wrote:
Very sorry!!
I describe my question not clear !
I use winscp3.com in windows BAT file.
It can work if I use "!" command.
How can I use "!" command in winscp3.com or command line model?
Is it feasible ?

prikryl wrote:
To learn how to use custom commands you may check the pre-defined example commands.

But if you want to automate file transfers you are probably looking for scripting feature.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
OK, so you want to execute server-side command from the script, do you? You cannot do this with WinSCP, yet.
_________________
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