Topic "Scripting problem"

Author Message
trasumaka

Guest


Hi there

This is surely a silly question but I don't get it to work.
I have created a session where local and remote directory are set.
I would like to move all folders of my local direcorty to the remote one.
I tryed a script like this :

option batch on
option confirm off
open ged@192.168.69.50
option transfert binary
mv *.* .
close
exit


But this is not ok. Can anybody give me a hint how to do it ?

Thanks in adavance
Trasumaka
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
There's no 'mv' command. You need to upload files and then remove them.
_________________
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