Topic "mv and UNC Path"

Author Message
ThM

Guest


Hello,
for my SFTP-Filetransfer I need to move any files from remote Source to my local Destination. I try out these command:
...
mv *.* "\\server\share\directory 1\"
...

WinSCP try to rename my Sourcefiles but it doesn't move the files. When I use the following commands, with the same Syntax, does it work:
...
get *.* "\\server\share\directory 1\*.*"
rm *.*
...

Can anybody help me ?

Regards
Thomas
Advertisements
ThM

Guest


I forgot - I use WinSCP 4.2.8 Build 818

ThM wrote:
Hello,
for my SFTP-Filetransfer I need to move any files from remote Source to my local Destination. I try out these command:
...
mv *.* "\\server\share\directory 1\"
...

WinSCP try to rename my Sourcefiles but it doesn't move the files. When I use the following commands, with the same Syntax, does it work:
...
get *.* "\\server\share\directory 1\*.*"
rm *.*
...

Can anybody help me ?

Regards
Thomas
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Command mv moves from remote directory to another remote directory. Use "get -delete".
_________________
Martin Prikryl
Guest




Thank you, for your answer.

I try to use these Command.

Regards Thomas
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